使用视频控件在html中添加flv / swf视频

时间:2013-02-06 09:24:42

标签: html

如何使用视频控件在html中添加flv / swf视频。任何人?

2 个答案:

答案 0 :(得分:1)

可能你可能会像这样工作

 <script src="/Portals/0/includes/swfobject.js" type="text/javascript"></script>
 <object width="400" height="350" id="FLVPlayer" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
 <param name="movie" value="http://www.RemoteServer.com/videos/FLVPlayer_Progressive.swf" />
 <param name="quality" value="high" />
 <param name="wmode" value="opaque" />
 <param name="scale" value="noscale" />
 <param name="salign" value="lt" />
 <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=http://www.RemoteServer.com/videos/Corona_Skin_2&amp;streamName=http://www.RemoteServer.com/videos/OurVideo&amp;autoPlay=false&amp;autoRewind=false" />
 <param name="swfversion" value="8,0,0,0" />
 <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
 <param name="expressinstall" value="http://www.RemoteServer.com/videos/expressInstall.swf" />
  <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
  <!--[if !IE]>-->
   <object width="400" height="350" type="application/x-shockwave-flash" data="http://www.RemoteServer.com/videos/FLVPlayer_Progressive.swf">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=http://www.RemoteServer.com/videos/Corona_Skin_2&amp;streamName=http://www.RemoteServer.com/videos/OurVideo&amp;autoPlay=false&amp;autoRewind=false" />
<param name="swfversion" value="8,0,0,0" />
<param name="expressinstall" value="http://www.RemoteServer.com/videos/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
  <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
  <p><a href="http://www.adobe.com/go/getflashplayer"><img alt="Get Adobe Flash player" src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" /></a></p>
</div>
  <!--[if !IE]>-->
</object>
   <!--<![endif]-->
  </object>
 <script type="text/javascript">
<!--
  swfobject.registerObject("FLVPlayer");
  //-->
  </script>

参考1 2 3 4

答案 1 :(得分:0)

你需要一个玩家,那里有一些免费的玩家,或者你可以编写自己的flash播放器。