关于
Github
中文文档

SWFObject Flash 增强插件

getFlashPlayerVersion

获取当前 Adobe Flash Player 的版本。

function outputPlayerversion() {
  var playerVersion = swfobject.getFlashPlayerVersion(); // returns a JavaScript object
  var output = '当前 Adobe Flash Player 版本为:' + playerVersion.major + '.' + playerVersion.minor + '.' + playerVersion.release;
  document.getElementById('myOutput').innerHTML = output;
}
//outputPlayerversion(); // testing before the DOM is available is not fully reliable in non-Internet Explorer browsers
swfobject.addDomLoadEvent(outputPlayerversion);