Big changes are finally here in SwfObj land. Thanks to the encouragement of fantastic SwfObj users, such as yourself, I've mustered up the motivation to implement what I consider to be a major feature. Dynamic Embedding of Flash objects is finally available with SwfObj.
Dynamic vs. Static Embedding
Prior to this release, the only option for embedding Flash objects with SwfObj, was statically. This embeds the objects directly into the html rendered by WordPress.
By dynamically embedding them, WordPress instead places a
I'll defer you to the official SwfObject project for the advantages and disadvantages of either SwfObject embedding method.
How to embed objects dynamically
By default, SwfObj is set to embed statically. If you would rather use dynamic embedding by default on your site, it is very easy to change the settings. Go to Settings > SwfObj and in "Default Embedding Mode" select "Dynamic Publishing". Save your changes and you're all set.
If you ever want to use the other method for a particular post, you can override the default with the new
dynamic_embed attribute. Here are a couple examples.
[swfobj src="..." dynamic_embed="true"] ← (embedded dynamically) [swfobj src="..." dynamic_embed="false"] ← (embedded statically)
In more exciting news, Joen Asmussen the developer behind the Flash Shorttags SwfObject Plugin requested that I merge in features from his plugin so he could discontinue it in favor of SwfObj. As a result, you can also use the [flash] shorttag to embed your Flash objects. I really appreciate Joen approaching me about merging our two plugins. It makes things simpler for everyone out there looking for an easier way to embed Flash on their WordPress site.
I originally developed this plugin for myself because embedding Flash was such a pain. It's been great to see so many other people getting value from it as well. Thanks to your help and suggestions SwfObj continues to improve. Please continue to send any comments or suggestions you may have as you use it on your sites. And if you really want to show your appreciation, feel free to buy me lunch.