Actually, it seems to me that SJ's suggestion makes sense. I can't see any reason why, for non-IE, the <param> elements must appear in both the outer <object> *and* the inner <object>. It seems that non-IE simply ignores the outer <object> (using the inner one instead) and so the outer one not having the duplicated <param>s would be irrelevant. But perhaps we're missing something that Bobby knows.
--Kyle From: Sam Sherlock Sent: Tuesday, December 08, 2009 11:53 AM To: [email protected] Subject: Re: Why define param elements twice with static publishing? one set of params is for IE the other not - you need to replicate the params but not the movie one generate you code and compare with the wiki examples - S 2009/12/8 raider5 <[email protected]> Hi all, Was looking at the markup for static publishing and wondered why the docs suggest declaring the param elements twice? "NOTE: The nested-objects method requires a double object definition (the outer object targeting Internet Explorer and the inner object targeting all other browsers), so you need to define your object attributes and nested param elements twice." Are there issues in using just one set of params as shown below? <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="780" height="420"> <!--[if !IE]>--><object type="application/x-shockwave-flash" data="myContent.swf" width="780" height="420"><!--<![endif]--> <param name="movie" value="myContent.swf" /> <param name="wmode" value="opaque" /> <param name="allowfullscreen" value="true" /> <p>Alternative content</p> <!--[if !IE]>--></object><!--<![endif]--> </object> Cheers, SJ -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
