• Resolved surfitin10

    (@surfitin10)


    Hello, thank you for your time.

    I have worked with several different flash plugins to get a flash video to play on my website’s homepage. None of these plugins generate an <embed> tag that is required for flash .swf files to play in Firefox (it is working in Safari only so far). Is there any flash plugin that will generate an <embed> tag and <param> tags so that the video will display in all browsers? Here is the short code I created with Kimil Flash Embed:

    [kml_flashembed publishmethod="static" fversion="8.0.0" useexpressinstall="true" movie="https://www.trendefemme.com/wp-content/themes/dev/intro.swf" width="900" height="500" targetclass="flashmovie"]
    <p><a href="https://adobe.com/go/getflashplayer"><img src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
    [/kml_flashembed]

    and here is the code it renders in the browser:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    			id="fm_intro_1734169984"
    			class="flashmovie"
    			width="900"
    			height="500">
    	<param name="movie" value="https://www.trendefemme.com/wp-content/themes/dev/intro.swf" />
    	<!--[if !IE]>-->
    	<object	type="application/x-shockwave-flash"
    			data="https://www.trendefemme.com/wp-content/themes/dev/intro.swf"
    			name="fm_intro_1734169984"
    			width="900"
    			height="500">
    	<!--<![endif]-->
    
    <p><a href="https://adobe.com/go/getflashplayer"><img src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
    
    	<!--[if !IE]>-->
    	</object>
    	<!--<![endif]-->
    </object>

    As you can see there is no <embed> tag in the code. Is this no longer required for flash in Firefox? Here is my site. Thanks again!

Viewing 1 replies (of 1 total)
  • Thread Starter surfitin10

    (@surfitin10)

    So none of the plugins I tried actually worked in both firefox and safari (shocker!). But here is the code I used to get it to work in both:

    <div class="flashmovie">
    <object height="500" width="900">
    <param name="movie" value="https://www.trendefemme.com/wp-content/themes/dev/intro.swf"></param>
    <param name="allowscriptaccess" value="always"></param>
    <embed allowscriptaccess="always" height="500" src="https://www.trendefemme.com/wp-content/themes/dev/intro.swf" type="application/x-shockwave-flash" width="900"></embed>
    </object>
    </div>

    Now, define CSS class flashmovie with the same height as the object (in my case, 500px). This will ensure that the video size renders properly in both browsers. It is unfortunate that firefox did not render the video height based on the embed tag alone. Anyway, I finally figured it out and I hope it helps you too if you are reading this, thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Flash plugin that works with Firefox’ is closed to new replies.