A No-Plugin Alternative to Embed Flash in Wordpress
Lost in my recent Wordpress frenzy, I posted a rant about a recent fit of road rage that includes some simple Flash movies.
Without thinking, I started looking for a plugin. Something that would allow me to easily insert a flash movie, no fuss, no muss.
Now, I’m not an idiot when it comes to Internet technology, but I felt like one today. I couldn’t get any plugin to work properly for me:
I searched for everything… installed everything… and nothing!
I shared my frustration with my roommate, Mictubis (his alias, he’s very sneaky), and he wondered why I didn’t try to simply embed it. You know… without a plugin… just HTML.
Uh… DUH!
So… I quickly ran to video.google.com and modeled my embed code after theirs. Okay… I copied it. But here it is:
<embed style="width:500px; height:150px;" id="VideoPlayback" type="application/x-shockwave-flash" src="flashfile.swf" flashvars=""> </embed>
Help Me Improve!
- The only way for my posts to get better is to get your opinion! So help me out, and rate this one! Thanks!
Related Posts
Category Base Removal Plugin
The Category Base Killer Plugin does exactly what it says. It removes the "category/" text from your WordPress URL string. ...
Learn How to Use the Center Turning Lane!
On my way to work today (yes, I know it's Sunday), I saw yet another person who doesn't understand the concept of the center ...
Removing the Dreaded Wordpress “Category” Forever!
Who thought it could be so difficult to remove 8 little letters?!? I recently turned my back on Drupal and installed Wordp...






January 31st, 2007 at 7:47 pm
*sigh* I got all excited when this came up on a search for embedding flash into a WordPress post, but it doesn’t seem to be working for me.
January 31st, 2007 at 8:10 pm
Talk to me… how can I help?
What does the code you’re using look like? Does it look like the markup I used on my “Learn How to Use the Center Turning Lane” article?
January 31st, 2007 at 9:15 pm
I’m an idiot! It was a conflict with a plug in. (And I totally agree about the left turn lane.)
March 13th, 2008 at 6:15 pm
I too, am having lots of troubles with embedding any kind of swf file into my posts… very frustrating to say the least! I even tried the above code, and nothing. It just doesn’t want to show up. It just strips any kind of embed code out of the editor in Wordpress. I wish they would change that engine to allow an administrator to embed, used javascript, and any other kind of stuff in the HTML editor! Why haven’t they? I HATE that engine stripping stuff out and modifying my code…
April 14th, 2008 at 10:13 pm
Anyway to link the file??
May 21st, 2008 at 3:25 am
Thanks! I’ve been looking for this for a long time - it’s really giving me headaches - I wonder if would work for YouTube?
Anyway this worked perfectly. I used
before andafter and it looks fine. It’s here if you want to see: http://customergauge.com/wordpress/?p=123