Easiest way to embed Flash inside WordPress

I was embedding my Flash inside the WordPress posts with the html <object> tag. It was not only messy but also made it incompatible with the FireFox browser. My blog was completely unreadable in FireFox.

Luckily I stumbled across this WordPress plugin called “Kimili Flash Embed for WordPress” which make flash embedding as simple as writing this line:

[code][kml_flashembed movie="movie.swf" width="550" height="400" /][/code]
Thats all that is needed to embed the flash movie.swf with width of 550 and height of 400.

The plugin is based on flashObject and as such it takes advantage of many of it’s features, listed here.

I found that if you embed the same flash twice in the same post, or the same flash in two different posts that show together in the same page you’ll only be able to see one of it, the first from above.

45 thoughts on “Easiest way to embed Flash inside WordPress

  1. Pingback: GUYA.NET » Blog Archive » New Kimili Flash Embed

  2. Hello, my name is Jim and i have created plugin for WordPress
    that it allows to insert SWFs in your WodrPress Blog. This Plugin
    this plugin uses the SWFObject library. The use is very simple, this plugin
    simply encloses the Javascript and insert code for insert SWFObject.

    The form to insert SWF is:
    [swf] pathtofile.swf, width, height[/swf]

    You can see an explanation and example in: http://unijimpe.pandela.net/?p=18

  3. I’m trying to insert flash movie as well as swf files inside my wordpress blog. I ‘ve just reached this site , let me try will it work or i may not .

    I’ve a Information Technology based blog where i want to publish some tutorials .

    Thanks

  4. Michelle, humans are complicated creatures, both towards others and towards themselves. Your invisibility could be due to any number of social complexities. Answers to these types of deep questions should be asked of those when the context is right, that is to say, of those who are offering the possibility of an answer.

    Basically, what I’m trying to say is, you might as well be asking him movie trivia. Who the hell cares?

  5. Pingback: GUYA.NET » Blog Archive » Call me now! Jajah new Flash widget

  6. I can’t get any kind of flash movie to play in my site on a page or post…
    I dowloaded the much raved about Kimili plugin without success…
    Can anyone help?
    I put in the code into the HTML editor of a page/post like this:

    [kml_flashembed movie="http://www.suiteshagalicious.com/wp-content/uploads/2008/03/landy.swf" height="260" width="400" /]
    and it doesn’t do anything, except display the above code in the post.
    I’ve done some extensive internet searching, and haven’t found any useful information.
    I’ve even emailed the person at that site, with no reply, or a reply to my post on their site.
    I’ve tried others suggestions of using the embed tag, and the editor strips out the entire code.
    Am I missing something?
    The plugin is activated…
    The box is unchecked in the options for visual text editor or whatever that problematic thingie is (why don’t they default to the box being unchecked? Or remove it all together, I can’t find a use for it. All it does is dis-allows me to put anything into the text editor)
    Help! I’m pulling my hair out and have posted on a couple other people’s blogs, but nobody has any suggestions for me.
    Thanks!

  7. Wait…..how come it’s showing up in YOUR site….????? My post shows what I have been wanting on mine!! Weird!!! Help!!!

  8. Interestingly enough, when I put the code into a text widget, it works! But I want it on an actual page/post, not in a sidebar widget.
    Any ideas?

  9. It was that stupid WSWG or whatever plugin for advanced editing controls. I deactivated it and now it works. Any idea on how to change that plugin to allow for the advanced controls, but also allow embeded flash files?

  10. Cody, you should be able to embed Flash into a header just by opening the header.php file and inserting the code the way that you would in normal site. It’s inserting Flash in posts that becomes tricky. But, with regular php pages on WordPress, you should have no trouble inserting Flash.

  11. Hello,

    I am creating a wordpress theme: http://www.lawfirmhost.net/spotora/ and have an swf file inside the header. My problem is that the flash file displays on the home page, but do not show on any internal pages. This is due to the Permalink Structure I have selected “Month and name” – When I have the structure set to “Default” the flash works perfectly, however when set to “Month and name” the Flash only shows on the home page.

    Is there a solution to this? Any help is appreciated.

    Regards

  12. Cody, you should be able to embed Flash into a header just by opening the header.php file and inserting the code the way that you would in normal site. It’s inserting Flash in posts that becomes tricky. But, with regular php pages on WordPress, you should have no trouble inserting Flash.

  13. Hello! I read everywhere that its sooo easy to use, and I bet it is. But I’m having some troubles. I think mostly because I dont know where to put the flash file on my server.
    I tried putting it in kimili-flash-embed/myflash/flashfile.swf
    but when I try that it wont come up.
    Can you help me?
    /CamillaLee

  14. Same problem for me – Where do you put the flash file on the server?? I uploaded it to the Media Gallery as if an image and tried the full path to filename there but it does not find it.

    Please share where you are saving the flash file and what filepath you use to link to it after… thanks.

  15. P.S. I am trying to instead a flash .swf file into the main body of a static page, instead of an image it will be a video.

  16. I hope everyone knows that all this advice applies to wordpress.org or your own hosted sites, not the free blog wordpress.com sites. So for those of us on the .com free site there is no solution to this yet that wordpress has released….correct? (as of jan. 5, 2010)

  17. Pingback: Daniel funderar | Hem

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>