Valid XHTML with Flash
July 9, 2006
If you want to use some flash in your Site you always get trouble with validating. The validator will tell you that your site is not valid caused by the embed element. The embed element is deprecated in XHTML. Simply use the code below.
<object type="application/x-shockwave-flash"
data="folder/yourfile.swf" width="xxx" height="xxx">
<param name="movie" value="folder/yourfile.swf" />
</object>
Related Links:
- Embed Flash Into WordPress Post