WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Flowplayer HTML5 for WordPress

A beautiful, responsive, HTML5 video player plugin from the makers of Flowplayer.

Developer Docs

Filters

Actions

Examples

Here are a few code examples of things that have been asked.

/**
 * Load flowplayer assets on the home page for video 14.
 */
function fp5_has_shortcode( $has_shortcode ) {
    if ( is_front_page() ) {
        $has_shortcode[] = array(
            'id' => '123', // Define the video ID
        );;
    }
    return $has_shortcode;
}
add_filter( 'fp5_filter_has_shortcode', 'fp5_has_shortcode' );
/**
 * Change post type arg to support hierarchical format.
 */
function fp5_post_type_arg_hierarchical( $args ) {
    $args['supports']     = array( 'title', 'page-attributes' );
    $args['hierarchical'] = true;
    return $args;
}
add_filter( 'fp5_post_type_args', 'fp5_post_type_arg_hierarchical' );
/**
 * Display links for single video posts and activate archive page.
 */
function fp5_post_type_arg_video_post( $args ) {
    $args['public']      = true;
    $args['has_archive'] = true;
    return $args;
}
add_filter( 'fp5_post_type_args', 'fp5_post_type_arg_video_post' );
/**
 * Disable "Help Tooltip" - Add additional configuration options.
 */
function fp5_js_config( $config, $id ) {

    // Defne setting for video 15
    if ( '15' == $id ) {
        $config['tooltip']    = false;
    }
    $config['fullscreen'] = false;

    return $config;
}
add_filter( 'fp5_js_config', 'fp5_js_config', 10, 2 );
/**
 * Define post meta defaults
 */
function fp5_post_meta_defaults( $defaults ) {
    $defaults['fp5-no-embed'] = array( 'true' );
    return $defaults;
}
add_filter( 'fp5_post_meta_defaults', 'fp5_post_meta_defaults' );

Translation

Join the Translation Team

Credits

The plugin can also be found on GitHub.

= Fix coloring option for FP5

* Update support for WP 4.7

2.0.2 - 27 October 2016 = * Update support for AdSense for Flowplayer to version 2 * Add support for Flowplayer Drive Analytics script * Fix HLS plugin loading * Fix the slightly inconsistent behaviour of the CDN setting

2.0.1 - 6 April 2016

  • Fix issue for sites with older PHP versions

2.0.0 - 5 April 2016

This is a large update. It has been tested extensively but we still could have missed something. Make sure to test it before installing on a live site. * Updated Flowplayer to v6.0.5 * Add support for multiple ads in a video * Restyled the settings page to make it easier to use. * Add a video option to choose to load the HLS script plugin * Updated the local versions of the HLS and quality selector plugins * Fixed tab styles in WP 4.4 * Update support for WP 4.5 * Added an setting to define the Flash HLS SWF file * Deprecated action fp5_video_config, use the filter fp5_js_config instead * Changed from hard coding the ads configuration to an array so that they are easier to customize. * A few code improvements from @dannyvankooten * Made the preview button disappear as it is not needed * Rearranged a chunk of code to make it more extendable

1.13.0 - 16 December 2015

  • Updated Flowplayer to v6.0.4
  • Updated the quality selector scripts
  • Updated HLS script
  • Included the extra features for playlists that came in Flowplayer v6. e.g. Quality selector for videos in playlists and RTMP URL per Video
  • Updated dashboard widget library code to support PHP 7
  • Increased WordPress minimum requirement to 3.7
  • Improved database queries performance

1.12.1 - 15 November 2015

  • Fixed bug with feature checker for loading extra JS
  • Fixed bug with removing settings when commercial key used
  • Improve coding style

1.12.0 - 07 November 2015

  • Fixed bug for the check to show brand name on own site
  • Added support for the HLS Flowplayer plugin
  • Hide the CDN option when the commercial key is added
  • Automatically add the video title from Flowplayer Drive
  • Add support for lightbox

1.11.2 - 06 September 2015

  • Fix two small bugs
  • Added Italien translation. Props Maurizio Sansone

1.11.1 - 28 August 2015

  • Add video id to filters as an attribute
  • Fix issue with HLS URL returning blank from Flowplayer Drive
  • Remove http from URLs returned from Flowplayer Drive
  • Add default video quality to list of qualities
  • Fix issue of overescaping data config output

1.11.0 - 8 August 2015

  • update to Flowplayer 6 and add support for new features in Flowplayer 6
  • add support for description_url for ads
  • allow single options to be overriden in the shortcode e.g. `[flowplayer id="123" show_title="true"]
  • fix bug: playlists with only a mp4 file would not play
  • improved the settings code
  • depricate filter fp5_filter_flowplayer_data to be removed in v2.0

    1.10.7 - 5 April 2015

  • fix bug: foreach warning on 404 page
  • prepare for taxonomy term splitting in WP 4.2
  • Reduce cache size by chaching processed video array

    1.10.6 - 7 March 2015

  • fix bug: checking video id with nested shortcodes
  • fix bug: Invalid argument supplied for foreach()

    1.10.5 - 1 March 2015

  • fix bug: playing videos on different pages
  • fix bug: fix issue with videos from Flowplayer Drive
  • add filter to define new video defaults

    1.10.4 - 21 February 2015

  • fix bug: play videos when in a blog loop
  • fix bug: fix issue with loading all of the videos from Flowplayer Drive

    1.10.3 - 3 February 2015

  • fix bug: fix code Flowplayer Drive API
  • fix bug: fix issue with Playlist JS

    1.10.2 - 23 December 2014

  • move background inline css to stylesheet
  • support nested shortcodes when fetching shortcode args
  • add css fix for Twenty Fifteen
  • additional classes for playlists
  • fix bug: allow more then 10 videos in a playlist
  • fix bug: allow multiple playlists on a single page
  • fix saving video order for playlists

    1.10.1 - 7 December 2014

  • add live streaming option
  • update to Flowplayer 5.5.2
  • improve security and coding styles

    1.10.0 - 9 November 2014

  • add complete multi-resolution support
  • add an option to define Flowplayer assets directory e.g. CDN
  • fix bug: embed options
  • prefix two classes

    1.9.4 - 9 October 2014

  • fix bug: change class from .flowplayer to .flowplayer-video
  • fix bug: letting 0 be a valid number for ads time
  • fix bug: removed trailing comma in JS and moved action fp5_video_config to the start of the JS

1.9.3 - 2 October 2014

  • fix bug: adding asf js and css files
  • fix bug: fetching the correct resolution video from Flowplayer Drive

1.9.2 - 21 September 2014

  • fix bug: remove spurious comma
  • fix bug: rtmp and flash videos
  • add video unique class
  • add German translation
  • prepare for multi-resolution support for Flowplayer Drive

1.9.1 - 5 September 2014

  • fix bug: shortcode loading at the top content - the shortcode was printed and not returned

1.9.0 - 4 September 2014

  • add Playlist support
  • update to Flowplayer HTML5 5.5.0
  • fix CSS issue with Yoast Video SEO
  • update upload button text in the settings
  • add hidden field with duration for Yoast Video SEO
  • stop video width and height calculation when custom width or height are defined

1.8.1 - 17 April 2014

  • replace php short tags with full tags
  • fix icon for WordPress 3.9

1.8.0 - 9 March 2014

  • introducing Flowplayer Drive to replace Flowplayer Designer
  • add support for Google AdSense for Flowplayer

1.7.0 - 16 February 2014

  • add full support for flash video file, rtmp and hls
  • cache Flowplayer designer video results
  • allow all data to be deleted from all sites when uninstalling on a multisite
  • update pot file
  • update to colorbox v1.4.37

1.6.0 - 25 January 2014

  • add support for all of the modifier classes
  • improve structure of video options by splitting options with tabs
  • add support for "At a Glance" dashboard widget

1.5.0 - 26 December 2013

  • update to Flowplayer HTML5 5.4.6
  • minify all back-end scripts and styles
  • reformatted video format meta and add a new filter
  • started adding flash video file and rtmp support

1.4.0 - 10 December 2013

  • added a video widget
  • added support for WordPress 3.8
  • added responsive design to the admin area
  • code improvements

1.3.0 - 24 November 2013

  • added a few extra filters
  • updated FAQ with more code documentation
  • code improvements

1.2.0 - 10 November 2013

  • added functionality to fetch videos from Flowplayer Designer directly in the admin area
  • added a few filters and actions
  • reorganisations of files and folders
  • update to Flowplayer HTML5 5.4.4
  • enable subtitle after being disabled in version 1.0.0

1.1.0 - 20 September 2013

  • added an extra column to show the shortcode in the overview
  • added a button in the posts pages so add shortcodes easily
  • fixed typos and updated pot file

1.0.0 - 18 August 2013

  • complete rewrite of plugin - now you can manage all of your videos in one place
  • updated the Flowplayer HTML5 code to version 5.4.3
  • added preload option
  • added CDN option
  • added a few more Flowplayer options
  • added embed options
  • disable subtitles temporarily till Flowplayer version 5.4.4 is released

0.5.0 - 3 March 2013

  • updated the Flowplayer HTML5 code to version 5.3.2
  • fixed splash image sizing

0.4.0 - 16 January 2013

  • fixed the new "show logo on origin site" checkbox that was introduced in version 0.3
  • now possible to add several players with different skins in one post/page
  • fixed: the "Send to Editor" button became non-functional if the media library window was closed without choosing media

0.3.0 - 16 January 2013

  • now in the posting UI the height of the player is calculated based on video's aspect ratio
  • added option to show the logo also in the origin site, and not just only in virally embedded players

0.2.0 - 16 January 2013

  • fixed to work when this plugin is symlinked in the wp-content/plugins directory
  • fixed link to plugins configuration page
  • fixed player scaling, does not use a fixed player size any more
  • added an option to make the player size fixed

0.1.0 - 4 January 2013

  • Initial release

Requires: 3.7 or higher
Compatible up to: 4.7.2
Last Updated: 2 months ago
Active Installs: 3,000+

Ratings

4.3 out of 5 stars

Support

0 of 5 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

50,2,1
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,2,2
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 50,2,1 100,1,1 100,1,1
100,2,2 50,2,1
100,1,1
0,1,0
100,1,1
100,2,2
100,1,1