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:
- The Flashinator
- Kimili Flash Embed
- Flash QuickTag Plugin
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
-
How Feedburner Emails Posts with Video Content
Oh how I wish I could say I'm actually coming back to my blog after over 2 years silence. But I'm not. Not in it's presen...
-
Category Base Removal Plugin
The Category Base Killer Plugin does exactly what it says. It removes the "category/" text from your WordPress URL string. ...
-
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 and
after and it looks fine. It’s here if you want to see: http://customergauge.com/wordpress/?p=123October 8th, 2008 at 11:33 am
I have used the Kimili Flash Plugin to Embed the Free Rider 2 Flash game on iwebie and it works great for me..
Check out the Example
http://www.iwebie.com/free-rider-2
October 29th, 2008 at 11:17 pm
I pasted in the google code into my WP page. Then after a save, WP changed the parameters and made everything good! I only had to fix the width and height.
November 9th, 2008 at 1:39 pm
I tried it on a regular swf and it worked great but how does it work if my movie is populated by xml file?
Can i see some example code?