This project is archived and is in readonly mode.

#887 ✓invalid

Detect flash minor version

Reported by Sencerd | April 23rd, 2010 @ 08:54 PM

I needed to detect the minor version of flash to see if the client being used was a beta (which our flash app doesn't support yet) and noticed that the flash detection in MT doesn't allow you to get it, it's very easy to add so I think this should be baked into the next release:

Browser.Plugins.Flash = (function(){

var version = ($try(function(){
    return navigator.plugins['Shockwave Flash'].description;
}, function(){
    return new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version');
}) || '0 r0').match(/\d+/g);
return {version: parseInt(version[0] || 0 + '.' + version[1], 10) || 0, build: parseInt(version[2], 10) || 0, minorversion: parseInt(version[1], 10) || 0};


Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Referenced by