在网页中插入flash播放器,播放flv视频

效果图如下:

所用代码如下:

<object id="FLVPlayer" height="480" width="640" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="/FLVPlayer_Progressive.swf" name="movie" />
<param value="lt" name="salign" />
<param value="high" name="quality" />
<param value="noscale" name="scale" />
<param value="&MM_ComponentVersion=1&skinName=/Clear_Skin_3&streamName=video&autoPlay=true&autoRewind=false" name="FlashVars" /><embed height="480" width="640" name="FLVPlayer" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" salign="LT" scale="noscale" quality="high" flashvars="&MM_ComponentVersion=1&skinName=/Clear_Skin_3&streamName=video&autoPlay=true&autoRewind=false" src="/FLVPlayer_Progressive.swf"></embed></object>

其中绿色字体所用到的swf文件传到网站根目录,红色字体是要播放的.flv文件名,这里也可以是网络路径,不用加.flv扩展名。

所用到swf文件如下:http://yunpan.cn/QUTe9MJi244fu

posted @ 2013-12-09 15:51  山貓  阅读(506)  评论(0编辑  收藏  举报