Hi,

I understood that the <object> tag is supported by all major modern browsers, and the proprietary <embed> tag is not required, unless one needs to support very old browsers, which I don't.

I have a Flash slideshow which a client wants included on a site. The automatically-generated code includes the <embed> tag and makes no provision for a static image in the absence of Flash. However, when I remove the <embed> section and add the static image, Firefox and Opera show the image, not the Flash slideshow. IE8, Safari and Chrome on Windows all display the Flash, as do Epiphany and Konqueror on Linux. Galeon, which is Gecko-based, displays the static image.

I can't believe Firefox doesn't support the <object> tag, so I assume I've made an error in the code somewhere. (The page does validate.)

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"

codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0";
 width="500" height="462" id="CC1144627" align="middle">
<param name="movie" value="calasith.swf"/>
<param name="quality" value="high" />
<param name="FlashVars" value="xmlfile=calasith.xml"/>
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="#ffffff" />
 <!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flash.swf" width="800" height="600">
  <!--<![endif]-->
<img src="images/Cala_Sith.jpg" width="400" height="300" alt="Cala Sith Guest House with view to the Oa" />
  <!--[if !IE]>-->
    </object>
  <!--<![endif]-->

 </object>

If anyone can explain where I'm going wrong, I'd be most grateful.

Lesley



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to