Forums

[resolved] Flash plugin that works with Firefox (2 posts)

  1. surfITin10
    Member
    Posted 1 year ago #

    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="http://www.trendefemme.com/wp-content/themes/dev/intro.swf" width="900" height="500" targetclass="flashmovie"]
    <p><a href="http://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>
    [/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="http://www.trendefemme.com/wp-content/themes/dev/intro.swf" />
    	<!--[if !IE]>-->
    	<object	type="application/x-shockwave-flash"
    			data="http://www.trendefemme.com/wp-content/themes/dev/intro.swf"
    			name="fm_intro_1734169984"
    			width="900"
    			height="500">
    	<!--<![endif]-->
    
    <p><a href="http://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>
    
    	<!--[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!

  2. surfITin10
    Member
    Posted 1 year ago #

    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="http://www.trendefemme.com/wp-content/themes/dev/intro.swf"></param>
    <param name="allowscriptaccess" value="always"></param>
    <embed allowscriptaccess="always" height="500" src="http://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!

Topic Closed

This topic has been closed to new replies.

About this Topic