There are several plugins to display Flash content for WordPress, but they don't make it easy for a user to insert Flash. They ask you to put some weird tags into your post, set Flash dimensions.. Well… NO MORE OF THIS PAIN! :) (cool CM huh ;)
Easy Inline SWF Plugin v1.0.2 for WordPress
(download link is at the bottom of the page!)
This plugin IS compatible with Word Press 2.1
Allows you to insert Flash files in .swf format into any place of your WordPress post, automatically detecting default size for the animation.
- a fix for resolving local path to .swf in cases when WordPress installation is not in the site's root (i.e. http://mydomain.com/wordpress)
- a fix for reading dimensions of .swf file hosted on local filesystem of the server, in case when server doesn't set the DOCUMENT_ROOT environment variable
- updated Flash generation code so that it is automatically "activated" in IE for Windows (ie no need to click on Flash in order to be able to click on links inside it, if there are any)
- Allows you to include SWF Flash content on your WordPress posts and pages – so easy you have to try it to believe it
- Automatically detects default size for the included Flash
- Allows to include both SWF files uploaded via WordPress post upload panel, or the ones from other sites (automatic size detection applies to both cases)
- Supports both compressed and uncompressed .swf formats
- Very easy to use. I mean it.
How to use:
- To install, just put the easyswf.php file inside your wp-content/plugins folder and activate the plugin in admin panel
- Go to create new page or blog post page (edit the post as usual)
- Upload your .swf file via the upload panel below the post text entry field
- One the file is uploaded, it will be shown in the upload panel
- Just left-click on the image (the way you usually do to insert ordinary images to your post), and in the menu that will appear, choose "Send to editor" (all other options should be left as is)
- A link to your uploaded .swf Flash file will appear in the text editor panel
- You're done! But.. there is one additional thing you can do – that is, you can include a .swf file from some other web-site, if you know full path to that file. To do that, you just type in some text in text editor, and then create a new link on that text, pointing to an .swf file on another site:
- There are two things you should be avare of though, in the case of linking to external file:
- in order to detect dimensions of the Flash, it will be downloaded by server every time your post with that Flash is shown. There is no caching.
- The text inside the link will be removed when displaying your post
- Of course you can include any number of Flash files in any single post
- And now, that's basically all :) And here's how the final rendered page will look like (the top Flash was uploaded locally, and the bottom one was linked from a different web site:
- That's it. Have fun :)
You can also check Inline Google Maps plugin for WordPress if you want to use Google Maps on your WordPress-powered site.