另类调用flash无须激活的方法

2019-06-03 12:49:51于海丽

},getSWFHTML:function(){ 
var _19=""; 
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){ 
if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");} 
_19="<embed type="application/x-shockwave-flash" src=""+this.getAttribute("swf")+"" width=""+this.getAttribute("width")+"" height=""+this.getAttribute("height")+"""; 
_19+=" id=""+this.getAttribute("id")+"" name=""+this.getAttribute("id")+"" "; 
var _1a=this.getParams(); 
for(var key in _1a){_19+=[key]+"=""+_1a[key]+"" ";} 
var _1c=this.getVariablePairs().join("&"); 
if(_1c.length>0){_19+="flashvars=""+_1c+""";} 
_19+="/>"; 
}else{ 
if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");} 
_19="<object id=""+this.getAttribute("id")+"" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width=""+this.getAttribute("width")+"" height=""+this.getAttribute("height")+"">"; 
_19+="<param name="movie" value=""+this.getAttribute("swf")+"" />"; 
var _1d=this.getParams(); 
for(var key in _1d){_19+="<param name=""+key+"" value=""+_1d[key]+"" />";} 
var _1f=this.getVariablePairs().join("&"); 
if(_1f.length>0){_19+="<param name="flashvars" value=""+_1f+"" />";} 
_19+="</object>";} 
return _19; 
},write:function(_20){ 
if(this.getAttribute("useExpressInstall")){ 
var _21=new deconcept.PlayerVersion([6,0,65]); 
if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){ 
this.setAttribute("doExpressInstall",true); 
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl"))); 
document.title=document.title.slice(0,47)+" - Flash Player Installation"; 
this.addVariable("MMdoctitle",document.title);}} 
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){ 
var n=(typeof _20=="string")?document.getElementById(_20):_20; 
n.innerHTML=this.getSWFHTML(); 
return true; 
}else{ 
if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}} 
return false;}}; 
deconcept.SWFObjectUtil.getPlayerVersion=function(_23,_24){ 
var _25=new deconcept.PlayerVersion([0,0,0]); 
if(navigator.plugins&&navigator.mimeTypes.length){ 
var x=navigator.plugins["Shockwave Flash"]; 
if(x&&x.description){_25=new deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|s)+/,"").replace(/(s+r|s+b[0-9]+)/,".").split("."));}