Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: open
Here is the code, anonymized:
width="990" height="500" id="RedGeckoIntro2">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="Flash/your-flash-file.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
Moz browsers need <embed>, IE and others, <object>. But IE will display <embed> too, putting two on the page.
The "old school" method of cross browser support is to include the embed tag inside the object tags, like
This is how Macromedia and Adobe "publish" the code to this day.
Unfortunately, it's invalid HTML.
The most graceful way I've found, and will allow you to validate: swfObject [code.google.com]. Simple to implement, it displays alternate content first so if JS and/or Flash is disabled, you still get a layout and content. If enabled, swfObject writes the Flash to the element. Best of both worlds.
Thanks very much for the info. I've implemented swfObject ver 2 and works a treat on all browsers, tried uninstalling Flash and all the scripts and links worked great too. Thanks again!