Embed Flash Into WordPress Post

August 19, 2006

Filed under: Blogging, WordPress — Rxbbx @ 7:16 pm

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

2 Comments »

Permanent Link

  1. God damn this works beautifully.

    Comment by swfcollector.com — November 6, 2006 @ 1:36 am

  2. […] 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

Leave a comment