Embed Flash Into WordPress Post
August 19, 2006
If you want to add some flash or movie to your Wordpress Post which is Xhtml valid.
Follow the link Users form the Admin backend and you will get: Your Profile and Personal Options. You need to disable visual rich editor when writing.
Insert into your post where wanted:
<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>
Related Links:
- Bug? Formatting for object or embed tags
- Valid XHTML with Flash
God damn this works beautifully.
Comment by swfcollector.com — November 6, 2006 @ 1:36 am
[…] Thanks! […]
Pingback by » Embedding valid XHTML flash code in WordPress Dave’s Sandbox: web chronicles from a geeky journalist — May 18, 2007 @ 12:38 pm
Works great but have to make sure no breaks are added to the html…Also have to remember if calling other files from parent .swf to save using ‘allow access to network files’ instead of just local when compiling your .swf
Comment by Blue — March 9, 2009 @ 6:35 pm