Embedding XHTML Compliant Flash Files

All to often people all over the web use non-xhtml embedding on their sites.
Use the following code to embed fully XHTML 1.0 compliant flash objects.

Code

1
2
3
4
5
<object type="application/x-shockwave-flash" data="path-to-swf-file.swf" width="950" height="150">
<param name="movie" value="path-to-swf-file.swf" />
<param name="quality" value="high"/>
<param name="wmode" value="transparent" />
</object>

Leave a Reply