Page 1 of 1

Valid XHTML FLASH?

Posted: Tue Feb 20, 2007 10:18 pm
by alex.barylski
I just validated a document I have which is XHTML trans and apparently my FF <embed> tag isn't recognized???

So what do I use, just rely on <object> this is what appears to be a truism according to w3cschools :P

Anyone care to shed some light?

Posted: Tue Feb 20, 2007 10:33 pm
by JAB Creations
This is WAI AAA compliant and valid XHTML 1.1 when served as application/xhtml+xml. It has plenty of backwards compatibility as well.

Code: Select all

<object class="example" data="example.swf" id="mplayer" tabindex="7" type="application/x-shockwave-flash">
  <span>It appears you do not have the <a accesskey="8" class="icon external" href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" rel="external" tabindex="9" title="Flash Plugin">Flash</a> plugin installed is required for this presentation.</span>
  <param name="loop" value="false" />
  <param name="movie" value="example.swf" />
 </object>

Posted: Tue Feb 20, 2007 11:19 pm
by Kieran Huggins