Getting the Flash player version number with jQuery 2

Posted by Neil on January 21, 2008

Earlier today a collegue asked me how to retrieve the version number of the flash player that was installed in the users browser. Initially this is impossible with jQuery out of the box, but is easy but utilizing the brilliant jQuery plugins structure.To start off, you need to utilize the jQuery Flash Plugin. This plugin allows you all sorts of interaction with the Flash Player and creating and modifying flash objects on the page.So, once this is in place, include the script in your page, and then run the following code to return the version number:

[The requested file http://neilmiddleton.com/Mods/http://neilmiddleton.com/Mods/2008/01/fl ashplayerdetect.js could not be found]

This will return you the string of the version number for flash (major.minor.revision).  Should you wish to break this apart simply split() as needed.

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

  1. Gunaseelan Tue, 12 Aug 2008 09:27:53 EDT

    Mr. Niel … what is this… can u please publish a page with full contents that are supposed to be in…. are really in the page….

    I dont see that javascript file here….

  2. Neil Tue, 12 Aug 2008 10:13:46 EDT

    Fixed.

Comments