JavaScript
Article

Adding flash player info to Flowplayer

By Sam Deering

Adding flash player info to Flowplayer because the Flash browser plugin is required for Flowplayer to work it may be beneficial to display a custom message to the user and even a specific version of Flash required for the player. Maybe even a link to download.

no-flash

You can capture the no Flash using the following code:

// we need at least this version of flash
version: [9, 115],

// older versions will see a custom message
onFail: function()
{
      $('#fms').after("You need the latest Flash version to view MP4 movies. " + "Your version is " + this.getVersion());
},

Free Guide:

7 Habits of Successful CTOs

"What makes a great CTO?" Engineering skills? Business savvy? An innate tendency to channel a mythical creature (ahem, unicorn)? All of the above? Discover the top traits of the most successful CTOs in this free guide.

No Reader comments

Recommended
Sponsors
Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

Get the latest in JavaScript, once a week, for free.