SWFObject is a JavaScript library that serves one purpose: embedding Flash SWF files in HTML documents using standards-friendly techniques.
A common misconception is that SWFObject can embed/control video files. This is not true. SWFObject only embeds Flash SWF files and cannot embed other types of media in an HTML page.
SWFObject provides two different options for embedding a SWF: dynamic publishing, which uses JavaScript to add the markup for you when your page loads in the browser, and static publishing, which means you’ll need to add the markup to your page manually. JavaScript is not required for static publishing, but the SWFObject JavaScript library provides some handy (and completely optional) JavaScript tools for you to use, including Flash Player version detection, Express Install functionality, and the swfobject.getObjectById() function.
Click here to learn more about SWFObject and start using it!




