效果图:
代码:
Code
<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="500" height="400">
<param name="movie" value="http://www.sopif.com/flvplayer.swf" />
<param name="quality" value="high" />
<param name="allowFullScreen" value="true" />
<param name="FlashVars" value="vcastr_file=http://www.sopif.com/1.swf&LogoText=www.sopif.com&BufferTime=3" />
<embed src="http://www.sopif.com/flvplayer.swf" allowfullscreen="true" flashvars="vcastr_file=http://www.sopif.com/1.swf&LogoText=www.sopif.com" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="400"></embed>
</object>
</div>
复制粘贴后就可以使用,实际上http://www.sopif.com/1.swf中的1.swf是1.flv,因为1.flv请求被拒绝,所以改了下扩展名,还是可以用的。
完整程序下载
若要实现自动播放,只要加上IsAutoPlay=1"即可
<param name="FlashVars" value="vcastr_file=video.flv&LogoText=zst&BufferTime=3&IsAutoPlay=1" />