how to insert flv into html?

Now i am using this script.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="723" height="445" id="FLVPlayer">
		    <param name="movie" value="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=Halo_Skin_3&amp;streamName=images/Welcome_Message_Final1&amp;autoPlay=true&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="Scripts/expressInstall.swf" />
		    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
		    <!--[if !IE]>-->
		    <object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" width="723" height="445">
		      <!--<![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=Halo_Skin_3&amp;streamName=images/Welcome_Message_Final1&amp;autoPlay=true&amp;autoRewind=false" />
		      <param name="swfversion" value="8,0,0,0" />
		      <param name="expressinstall" value="Scripts/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 src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
	          </div>
		      <!--[if !IE]>-->
	        </object>
		    <!--<![endif]-->
      </object>
<script type="text/javascript">
<!--
swfobject.registerObject("FLVPlayer");
//-->
    </script>

It's not working in IE Browser. But it's working all Browser. please help me to solve this Issue

Dani AI

Generated

This thread was about embedding FLV via a Flash player and an IE-only problem. The original poster later reported the issue solved, but the replies from and point to two useful troubleshooting directions: start with a minimal, known-good sample and try toggling the helper ActiveContent script. Those are good first steps for debugging old Flash embeds.

Longer-term: do not rely on Flash. Browsers and OS vendors ended support for Flash, so FLV/SWF playback is brittle or outright blocked now. Convert FLV to a modern web format (H.264 inside MP4, or WebM) and use the HTML5 video element for widest, future-proof support. The official Flash end-of-life note is here: Adobe: Flash Player end of life. Use ffmpeg to transcode reliably; the project site is here: FFmpeg.

Example conversion (one-line) and a simple HTML5 embed to replace a Flash player:

ffmpeg -i input.flv -c:v libx264 -preset medium -crf 23 -c:a aac -b:a 128k output.mp4
<video controls width="720">
  <source src="output.mp4" type="video/mp4">
  <source src="output.webm" type="video/webm">
  Your browser does not support the video element.
</video>

If conversion is impossible and Flash must be used temporarily, check these legacy traps: confirm the SWF and FLV paths are correct, ensure server MIME types are set (serve .flv as video/x-flv and .mp4 as video/mp4), verify IE is not running in compatibility/quirks mode, and check ActiveX/plugin settings or group policies that block Flash. For progressive or adaptive streaming at scale, transcode to HLS/DASH or use a modern JS player that supports MSE (for streaming) rather than relying on an SWF-based player.

For modern embedding and browser compatibility details, see the HTML5 video documentation on MDN: HTML video element.

Recommended Answers

All 3 Replies

Try stripping it down and seeing if it works with this.

Regards
Arkinder

check your code and see if it has this script
<script src="Scripts/AC_" type="text/javascript"></script>
sometimes with IE i have to add it or take it out try both ways.

Thank you for your reply. i got solution. it is solved.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.