Inserting Flash swf file in WordPress posts or Pages

| June 10, 2007 | 15 Comments

I’m no Flash expert, so generally if I’m dealing with Flash it’s Flash movies, which are .flv files. However, some people might need to insert Flash objects into their posts or Pages, and these files have the .swf suffix.

Someone on a forum recently was on a search for the easiest and least destructive way of inserting .swf files in their posts, and their conclusion was that the Kimili Flash Embed for Wordpress plugin was the best option out there.

Kimili Flash Embed for Wordpress>>

Tags:

Category: Plugins

Elegant WP Themes

Comments (15)

Trackback URL | Comments RSS Feed

  1. Eric says:

    How do I insert a swf file into the header of my blog? (Not concerned with post).
    Thx!!
    http://www.planethiphoptv.com
     

  2. Katie Baird says:

    I was successful in embedding a flash element in a site I am working on. Finding step-by-step directions was a little sketchy. The kimili plug in is very clear in how to modify your flash display, but not (in my opinion) on how to make it work exactly.

    I would be glad to tell you how I did it, if you need any assistance Eric.

  3. Miriam Schwab says:

    Hi Katie – would you be interested in writing a guest post to be published here describing how you got Flash to work in your site? I’d also really like to hear how you did it.

  4. MYHOUSE says:

    404 not found when clicked on the link. Could you give the correct link?

  5. Ryan says:

    MYHOUSE – The plugin has probably been removed as I don’t think it has any use anymore. The latest versions of WordPress support the embedding of Flash files natively. There is no need for a plugin anymore.

  6. You can find information about the latest version <a href=”http://kimili.com/journal/kimili-flash-embed-20-preview-the-wordpress-edition”>here</a>.

  7. Myhouse says:

    Thank! I’ve done now.

  8. Joe says:

    This seemed to break the visual editor in Wordpress 2.7

    Really no need for a plugin anymore which is great.

  9. laf says:

    Hi, does this method work for wordpress.com blogs ?

  10. usan says:

    i cant specify my flash file in my post can u plz tell how to do it with kimili

  11. Is this plugin seo friendly?

  12. I also want to know how to embedd into the header. anywhone know how that works?
    Tnx

  13. Helen says:

    Reizen, to put swf in header you can use 2 ways mainly.
    One is to write a function in functions.php that inserts html and there just add the normal object/embed swf code, then add_action, then with action hooks call that function name in header. You have to read the codex or other tutorials how to do that.
    The other way is to insert the object/embed code straight in header.php of your theme. usually just after the body tag -> “wrapper” div depending how your theme is constructed. Make it a div=”swfheader” and put styling in style.css.
    In the WP editor you can try pasteand remove this code as needed.
    What I want to know is if anyone knows how to let swf embedded in WP use load movie. It seeems to be disabled, because of security in php? Dont know how to unblock that. Putting swf w load movie in iFrame works fine but not in aphp file. Anybody knows why/how?

  14. Haggiesm says:

    I’ve tried the kimili plugin and all copy-pasting html and css all over the place, but nothing’s working. same scenario as mentioned before – I have a flash banner that goes in the header.

  15. Helen says:

    @Haggiesm
    Depends also on your theme how and where to put the object/embed code if thats what you want to try.
    An “easy” shortcut way is to hardcode the flash object code in to header.php. Has to be outside php since it is html-code, like:
    ?>
    <div id=”swfhead” align=”left” valign=”top”>
    <object> insert normal swf embedcode here </object>
    </div>
    <?php
    A better way is to make a function in functions.php that embeds a swf, then add that action to an action hook if there is one placed by your themer in the right place (like in thematic there is thematic_before in header that works for this) or create your own actionhook and add that to header.php
    I havent found any plugin that lets you do this with shortcode, would be nice to have one though!

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.