我使用Dreamweaver CS3编辑intranet页面,插入Flash视频,DreamweaverCS3为我插入代码。我注意到插入的代码有一些互联网地址。我想知道假设我的用户无法连接互联网,可以播放视频吗?
假设他们的操作系统是Windows XP,安装了Flash Player 7或更高版本。
<p>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','600','height','340','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=videos/GLD_01&autoPlay=false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="600" height="340" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=videos/GLD_01&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=videos/GLD_01&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="600" height="340" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</object>
</noscript>
</p>
是的,它可以正常工作。如果安装了插件,则不使用codebase
和pluginspage
参数,并且即使未安装插件,当前浏览器也不使用这些参数。
在一些较旧的浏览器上,它们曾经提示用户导航到引用的页面来下载插件,但较新的浏览器甚至不这样做。