Dave’s Sandbox

web chronicles from a geeky journalist

18, May 2007

Embedding valid XHTML flash code in WordPress

Rxbbx has posted a very useful code example showing how to embed flash that is XHTML valid and web standards compliant on your WordPress blog. Loads of thanks!

<object type="application/x-shockwave-flash"
data="folder/yourfile.swf" width="xxx" height="xxx">
<!--[if IE]>
<param name="movie" value="folder/yourfile.swf" />
<![endif]-->
<img src="noflash.gif" alt="Can't display file" />
</object>

Deixe seu comentário

Você precisa estar logado para postar um comentário