/**
flash Installed问题
**/
<object id="swf" data="xxx.swf" height="30" width="180"></object>
<input type="file" name="file-upload" id="file-upload" />
var playerVersion = swfobject.getFlashPlayerVersion();
var flashInstalled = (playerVersion.major >= 9);
if (flashInstalled) {
var swf = $("#swf");
swf.remove();
} else {
var attachment = $("#file-upload");
attachment.remove();
}
解决flash版本增强
最新推荐文章于 2020-02-26 20:04:11 发布