问题
Is it possible to check the version of the Flash Player installed in a browser using Javascript?
回答1:
You can check an example here.
回答2:
There is a nice, lightweight JavaScript Flash Detection Library, which is smaller and more convenient than using SWFObject. You should consider it, if you only want to check if Flash is installed, what version of Flash Player is installed etc., but you're using different method of playing FLV movies.
SWFObject should be considered only, if you're also using it for playing Flash movies. For just checking, if Flash is installed or what version of Flash player is installed, it is to heavy, in my opinion.
回答3:
You should have a look at swfobject2: http://code.google.com/p/swfobject/
来源:https://stackoverflow.com/questions/3652480/checking-flash-player-version-using-javascript