Forum Moderators: open

Message Too Old, No Replies

Flash banner not working on some Firefox Browsers

Embedded Flash in Firefox

         

Gregbr

4:20 am on Jul 6, 2006 (gmt 0)

10+ Year Member



I have built a website that uses javascript to test whether a recent enough version of flash is installed in the browser and if it is writes the HTML to embed the flash banner. It is largely along the lines of what Macromedia recommends and uses both object and embed tags. It works fine in all IE browsers I have looked at and in most Firefox browsers, however it is not working on one Firefox browser I have looked at (version 1.5.0.4).

Any idea of the cause?

oxbaker

2:21 pm on Jul 6, 2006 (gmt 0)

10+ Year Member



fix your embed tag.

and post the code up here that you use in your object and embed tags. if the file works in one but not the other, 99% of the time its your embed tag is malformed.

mcm

Gregbr

10:56 pm on Jul 6, 2006 (gmt 0)

10+ Year Member



The HTML generated by the JavaScript to embed the Flash goes as follows:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" height="160" width="760"><param name="movie" value="flash/drop_home_banner.swf"><param name="quality" value="high"><param name="bgcolor" value="#cccccc"><embed src="flash/drop_home_banner.swf" bgcolor="#cccccc" name="drop_home_banner" play="true" loop="false" quality="high" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="160" width="760"></object>

encyclo

1:19 am on Jul 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If it is just one browser on one machine, the problem is likely to be with the plugin on that machine.

Try reinstalling the Flash plugin from macromedia.com and test the script again.