Renjith JR
Renjith JR

Reputation: 359

Adding flv/swf videos in html with video controls

How can i add flv/swf videos in html with video controls. Anyone ?

Upvotes: 0

Views: 3781

Answers (2)

Villan
Villan

Reputation: 730

probably you might work like this

 <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>

refer 1 2 3 4

Upvotes: 1

phpalix
phpalix

Reputation: 689

You need a player, there are some free ones out there, or you can write your own flash player.

Upvotes: 0

Related Questions