I'm trying to embed some flash to a page on my site, I'm entering the correct <object> & <enbed> code into the page, which displays fine.
However, If I goto edit the page at a later date the code gets mangled, wordpress inserts a </object> before the <embed> and replaces me closing /> with ></embed>
This is a real pain, as it means I have to re-edit my flash every time i alter the page.
Is there a tag to prevent wordpress altering html, or should this be reported as a bug? - I'm guessing the html tidy process doesn't like <object> & <embed>
The HTML i'm adding to the code window can be seen here:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" height="600" width="500">
<param name="movie" value="/Files/polaroid.swf" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="flashvars" value="flickrID=17378729@N00" /><embed src="/Files/polaroid.swf" menu="false" quality="high" bgcolor="#fff" flashvars="flickrID=17378729@N00" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" height="600" width="500" /></object>
I know that as a wordaround I could probably disable the TinyMCE editor, but 95% of the time it's fine.
Dave