It's been almost a year and the WordPress SwfObj plugin definitely needs some updating. A lot has happened in the last year with WordPress. To keep SwfObj relevant I've made a few changes with the new release. And I'm finally bumping it up to a 1.0 version. Not sure why I held off on that for so long, perhaps a paranoia that once I tacked on the 1.0 everything would break.
Keeping up with WordPress 3.0
There are a couple WordPress developments which are relevant to the SwfObj plugin.
First of all, with the 3.0 release WordPress now uses the latest swfobject.js file (version 2.2) so SwfObj no longer needs to re-register it. As a result, I've linked it up to the default swfobject.js file in WordPress 3.0+ installs. However, swfobject.js is still included in the plugin for WordPress installations that are using version 2.9 or older. The plugin automatically loads the most appropriate file for you.
Speaking of WordPress 2.9, apparently they fixed a bug that prevented me from using wp_enqueue_script in SwfObj and I didn't know about it until recently. Prior to version 2.9, if you set up WordPress on a secure server, with SSL, then the wp_enqueue_script function caused a bunch of security errors to pop up in the browser. Because of this, I avoided using this function. Now that it is fixed, though, I'm using it, which should make the plugin integrate much smoother with any installation of WordPress. Again, I've taken measures to make it backwards compatible with previous versions of WordPress as well.
A Newer More Powerful Alt
Additionally I've modified the way alt content is labelled in the shortcode. Several users have had problems getting more complicated alt content to load properly using SwfObj. After trying to escape, unescape, quote and otherwise get the complex alt content they were using to work under the original schema I'd set up, I gave up and decided to rewrite it.
To get the code to render properly, alt content now should be placed between opening and closing swfobj shorttags. Here is an example of the before and after.
Before: [swfobj ... alt="<img src='alt_image.jpg' />"] After: [swfobj ...]<img src="alt_image.jpg" />[/swfobj]
The change is meant to be simple. The original method is still supported, so upgrading won't break all of the content you've already got embedded in all of your posts. But from here on out I would recommend using the new way to include alt content. It allows you to embed more complicated content to support browsers that don't have Flash. I'm looking at you Apple. The Flash embed button now uses this method to include alt content in the swfobj tags as well.
Always Squashing Bugs
I've also fixed several other bugs that users were kind enough to point out to me. I really appreciate all of the feedback everyone has given for this plugin and especially those of you who have been kind enough to donate to the project. Thank you for all of the great support that is helping to make this plugin even better.
If you have any questions, bug reports or suggestions please send them over.
Thanks again and happy embedding.