
Similarly, since the elements are all generated using the same W3C techniques, encoding flashvars should be less troublesome. This means, among other things, that nodes generated for XHTML documents should properly self close: Because this is Internet Explorer, a few hacks were required, but the end result is code generated by W3C techniques (document.createElement). embedSWF( "m圜ontent.swf", el, 300, 120, 10) Īnother significant change: SWFObject’s approach to dynamic embedding in Internet Explorer has been updated to use a more W3C-friendly way of creating the. You may now use integers in place of number strings in embedSWF (e.g.

You may now pass an element as an argument in embedSWF (in place of an ID) The only two significant changes to the API: SWFObject 2.3 introduces many small changes under the hood (almost exclusively aimed at fixing bugs), but the public API is mostly unchanged and completely backwards compatible with SWFObject 2.2. The current release – 2.2 – is still available for download at /p/swfobject/ CHANGES ¶ ↑ This GitHub edition of SWFObject is our 2.3 beta.

SWFObject is a free, open-source tool for embedding swf content in websites.

This project is being left on GitHub for historical purposes. Flash Player is on the decline, and the authors of SWFObject have moved on to other projects. SWFObject is no longer in active development.
