> the default embedding markup emitted by Flash is the most compatible<br>
> across browsers and screen readers and does not require JavaScript.<br>
<br>

Adobe FlexBuilder 2 (beta2) generates html and Javascript, which writes
out both <object> and <embed> dynamically. I'd assume Flash 9 will do the
same.<br>
<br>
Practically, you need JavaScript to support IE7 without prompting users
to launch each plugin instance. In the case of Flash, at least, it's
possible to get good browser coverage, while avoiding using the
<embed> tag altogether
(<a href="http://www.alistapart.com/articles/flashsatay/">http://www.alistapart.com/articles/flashsatay/</a>), but I'm unsure of the
value of doing that, compared with the "weirdness" of it.<br>
<br>
Peter<br>
<br><br><div><span class="gmail_quote">On 4/25/06, <b class="gmail_sendername">Henri Sivonen</b> <<a href="mailto:hsivonen@iki.fi">hsivonen@iki.fi</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The party line has been that the embed element is badly designed and<br>evil and needs to be replaced with the object element.<br><br>Yet, for compatibility, tools keep generating embed as a child of<br>object and practically-oriented guides suggest it. According to
<br><a href="http://weblogs.macromedia.com/accessibility/archives/2005/08/">http://weblogs.macromedia.com/accessibility/archives/2005/08/</a><br>in_search_of_a.cfm<br>the default embedding markup emitted by Flash is the most compatible
<br>across browsers and screen readers and does not require JavaScript.<br><br>(Apparently, the Gecko plug-in folks *still* insist on ignoring<br>objects with MS-style classids instead of special-casing the common<br>ones and mapping them to Netscape-style plug-ins or even using the
<br>data attribute if present. Opera at least uses the data attribute.<br><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=106065#c1">https://bugzilla.mozilla.org/show_bug.cgi?id=106065#c1</a><br><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=46569">
https://bugzilla.mozilla.org/show_bug.cgi?id=46569</a> )<br><br>The main arguments against the embed element have been:<br>  * Not expressible in a DTD. (Non-issue for HTML5.)<br>  * Not invented at the W3C. (Non-issue for the WHAT WG.)
<br>  * Lacks proper design for fallback content.<br><br>I think pleasing validators or conformance checkers at the expense of<br>browser compatibility is a bad idea here. Therefore, I suggest that<br>the object element have an alternative content model, where the
<br>possible param elements are followed by one embed element and the<br>embed element is optionally followed by one noembed element whose<br>content model is what the content model of the object element would<br>otherwise be in this context (except for params).
<br><br>Conforming HTML5 browsers should display the noembed element if the<br>embed element immediately before it cannot be displayed.<br><br>Whether attributes allowed on embed should be open-ended is a matter<br>of taste, I guess, but at least their datatypes and IDness should not
<br>conflict with common attrs and they should be sufficient for the<br>usual suspects (Flash, QuickTime, etc.).<br><br>--<br>Henri Sivonen<br><a href="mailto:hsivonen@iki.fi">hsivonen@iki.fi</a><br><a href="http://hsivonen.iki.fi/">
http://hsivonen.iki.fi/</a><br><br><br></blockquote></div><br>