Easily Embed Flash in WORDPRESS
With all the tutorials all around, at first I thought it was a very easy job.
well it actually proved to be otherwise when I thought about making the xHTML standards compliant.
The methods that made the whole thing work, didn’t comply with the standards. it always failed the test. And the methods those passed the test, didn’t work within wordpress theme, or proved to be way too complicated to work with.
I mean, take a look at most usable methods..
http://www.alistapart.com/articles/flashsatay
http://blog.deconcept.com/2005/03/31/proper-flash-embedding-flashobject-best-practices/
http://blog.deconcept.com/swfobject/
http://www.stilldreamer.com/programming/a_list_aparts_flash_satay_method_improved/
And then I came upon this easiest method. Which works in all browsers that I have checked. And its also standards compliant.
The code I used is this…
<object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="780" height="350">
<param name="movie" value="http://falconerdesigns.com/header.swf" />
<!–[if !IE]>–>
</object><object type="application/x-shockwave-flash" data="http://falconerdesigns.com/header.swf" width="780" height="350">
<!–<![endif]–>
<param name="allowScriptAccess" value="sameDomain" />
<!–[if !IE]>–>
</object>
and voila, it worked like a charm!!
If anyone else need help in same, please don’t mind asking me.
regards,
Ekta.

Hey Man,
I’m trying to use your code to embed a simple swf into my page. I haven’t found a way yet that works in both FF and IE7 and is standards compliant.
Yours works fine in FF, it works in IE7 but it is adding another section of white underneath the video the same size as my swf. No matter what I set the height in the CSS it still shows.
Any ideas? Internet Exploder is always so frustrating.
I believe he meant this…
<!–
<!–
<!–
–>
Peace in the middle east!
Just look at the source code for this page!!!
NICE,
THANKS SO MUCH FOR HELP EMBEDDING IE7 FLASH ON MY WEB SITE AND ALSO WORKS WITH FIREFOX
First of all, THANK YOU, THANK YOU, THANK YOU! I”ve been trying for 2 days to get the Kimli plugin to do what you helped me do in about 5 minutes.
Secondly, I needed the hidden part of my menu to be transparent, so I found that to make my window mode transparent, I did this:
–>
<!–
–>