调用WindowsMedia播放器与Flash播放器 <%=ProductionURL%> 是文件的路径+文件名称 WindowsMedia播放器 <script language='javascript'> var url='<%=ProductionURL%>';</script> <script> document.write("<object id=/"MMSPlay/" width=360 height=320 classid=/"CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95/" codebase=/"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715/" standby=/"Loading Microsoft Windows Media Player components/" type=/"application/x-oleobject/" hspace=/"5/">"); document.write("<param name=/"AutoRewind/" value=1>"); document.write("<param name=/"FileName/" value=/"" + url + "/""); document.write("<param name=/"ShowControls/" value=/"1/">"); document.write("<param name=/"loop/" value=/"1/">"); document.write("<param name=/"ShowPositionControls/" value=/"0/">"); document.write("<param name=/"ShowAudioControls/" value=/"1/">"); document.write("<param name=/"ShowTracker/" value=/"1/">"); document.write("<param name=/"ShowDisplay/" value=/"0/">"); document.write("<param name=/"ShowStatusBar/" value=/"1/"><param name=/"ShowGotoBar/" value=/"0/"><param name=/"ShowCaptioning/" value=/"0/">"); document.write("<param name=/"AutoStart/" value=1><param name=/"Volume/" value=/"-1/"><param name=/"AnimationAtStart/" value=/"0/">"); document.write("<param name=/"TransparentAtStart/" value=/"0/"><param name=/"AllowChangeDisplaySize/" value=/"0/"><param name=/"AllowScan/" value=/"0/">"); document.write("<param name=/"EnableContextMenu/" value=/"0/"><param name=/"ClickToPlay/" value=/"0/"></object>"); </script> Flash播放器 <OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" height="320" width="360" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT> <PARAM NAME="_cx" VALUE="9525"> <PARAM NAME="_cy" VALUE="8467"> <PARAM NAME="FlashVars" VALUE=""> <PARAM NAME="Movie" VALUE="<%=ProductionURL%>"> <PARAM NAME="Src" VALUE="<%=ProductionURL%>"> <PARAM NAME="WMode" VALUE="Transparent"> <PARAM NAME="Play" VALUE="-1"> <PARAM NAME="Loop" VALUE="-1"> <PARAM NAME="Quality" VALUE="High"> <PARAM NAME="SAlign" VALUE=""> <PARAM NAME="Menu" VALUE="-1"> <PARAM NAME="Base" VALUE=""> <PARAM NAME="AllowScriptAccess" VALUE=""> <PARAM NAME="Scale" VALUE="ShowAll"> <PARAM NAME="DeviceFont" VALUE="0"> <PARAM NAME="EmbedMovie" VALUE="0"> <PARAM NAME="BGColor" VALUE=""> <PARAM NAME="SWRemote" VALUE=""> <PARAM NAME="MovieData" VALUE=""> <PARAM NAME="SeamlessTabbing" VALUE="1"> <PARAM NAME="Profile" VALUE="0"> <PARAM NAME="ProfileAddress" VALUE=""> <PARAM NAME="ProfilePort" VALUE="0"> <embed src="<%=ProductionURL%>" width="360" height="320" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"> </embed> </OBJECT>