• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Making the web work for you

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty
Affordable VAST/VPAID for Wordpress has arrived. Serve ads with your videos starting today!

FV Flowplayer supports Optimize Press 2

2 April 2014 / Martin / Leave a Comment

We constantly work on improving our free video plugin for WordPress FV Flowplayer. We are thankful for your feedback on our support forms and all the emails. Here are some of the things we fixed in recent versions:

OptimizePress 2 integration

While bad WordPress coding practices in OptimizePress 1 make it a bit tricky to work together, our plugin now integrates perfectly with OptimizePress 2 and its Live Edit feature.

Just insert your video using the OptimizePress 2 editor and FV Flowplayer will be used to display the video. Make sure you select "URL" as the video Type.

fv flowplayer optimizepress 2
OptimizePress 2 insert video dialog

Redirection feature

Adding redirect="http://example.com" into the [fvplayer] shortcode (or just enable the feature in Settings -> FV Worpdress Flowplayer -> Post Interface Options ) opens that URL in a popup window. However this started failing in Safari and browsers with popup blocker.

So we put in a code to check if the popup was successful and if it wasn't, we just open the URL in the current window. So if your video leads to some signup page, users will get to it. If they want to go back, they can still use "Back" button in the browser.

fv flowplayer redirect enable
Enabling redirection feature

Problem is that popup windows are only allowed by JavaScript if they are triggered by user. So hooking it to any random click event would be possible, but a bit dirty practice.

00:44
Link

Redirection feature demo, watch the video until the end to see it in action

CSS Optimization

Since our plugin allows you to customize the color scheme, we have to store that CSS somewhere. This was done in </head> section of HTML, but as we added more and more features, the code become longer and longer.

We love clean HTML (there is always something to improve). <head> section of the website should only contain required linked stylesheets and all scripts should be linked right before the </body> tag.

We decided to write out our CSS into a flat file on your WordPress install, together with the plugin CSS (to not increase amount of items loading). This happens on FV Flowplayer Settings save event. It uses WordPress Filesystem API to remain secure, it only goes as far as WordPress allows.

If your file permissions don't allow this, our plugin automatically switches to old behavior, that is <style> tag in <head> section of the site.

More information

  • Check our entire Changelog
  • You can install our plugin via WordPress.org
  • More resources, how-tos and documentation available on our site
  • Pro licenses available
  • Support available in our FV Flowplayer forums
Martin Vicenik

Martin Viceník

Martin graduated as an engineer in Computer Science from Slovak Technical University in Bratislava. He grew up in Liptovský Mikuláš in northern Slovakia next to the beautiful Tatra mountains. He is the developer behind our FV Player.

Share30
Tweet1
Share
31 Shares

Categories: Flowplayer, WordPress Tags: flowplayer, online video, optimizepress

Related Posts

  1. Amazon S3 Protected Content support added to FV Flowplayer

    Amazon S3 Protected Content support added to FV Flowplayer

  2. FV Flowplayer adds Youtube and Vimeo support

    FV Flowplayer adds Youtube and Vimeo support

  3. Foliopress WYISWYG now supports autosave

    Foliopress WYISWYG now supports autosave

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You can click here to Subscribe without commenting

Primary Sidebar

Categories

  • Business
  • Cameras
  • Case Studies
  • Design
  • Flowplayer
  • Internet Marketing
  • IT
  • Life
  • SEO
  • Slovak
  • Video of the Week
  • WordPress

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2021 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. +1 518 412 4600