晓夏

小皇

教育信息化方案砖家

HTML播放FLV视频,可更换LOGO代码

浏览量:1784

HTML播放FLV视频,可更换LOGO代码

第一种方法:

<object width="500" height="400" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="quality" value="high">
<param name="allowFullScreen" value="true">
<param name="FlashVars" value="vcastr_file=20140606_zhangjun.flv&amp;IsAutoPlay=1&amp;IsContinue=1">
<param name="flashvars" value="vcastr_file=20140606_zhangjun.flv&amp;IsAutoPlay=1&amp;IsContinue=1">
<param name="src" value="/editor/attached/media/20140923/Flvplayer.swf">
<param name="allowfullscreen" value="true">
<param name="pluginspage" value=" 
<embed width="500" height="400" type="application/x-shockwave-flash" src="/editor/attached/media/20140923/Flvplayer.swf" quality="high" allowfullscreen="true" flashvars="vcastr_file=20140606_zhangjun.flv&amp;IsAutoPlay=1&amp;IsContinue=1" pluginspage=" 
</object>

第二种方法:

<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="430" height="254">
<param name="movie" value="image/Flvplayer.swf" />
<param name="quality" value="high" />
<param name="allowFullScreen" value="true" />
<param name="FlashVars" value="vcastr_file=招生宣传视频.flv&LogoText=Xiaohuang&BufferTime=3" />
<embed src="image/Flvplayer.swf" allowfullscreen="true" flashvars="vcastr_file=招生宣传视频.flv&LogoText=Xiaohuang" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="430" height="254"></embed>
</object>


下面是Flvplayer.swf

右键另存为下载


神回复

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

  • 访客 回复该评论

    测试这个不能使用,读不出来视频

    发布于 2015-01-15 09:13:11

    • 小皇 回复该评论

      视频的路径用绝对路径好了,比如/file/att/ss.flv

      发布于 2015-01-15 13:43:12