


Here is an example showing the minimum amount of code needed to embed a Flash movie: This text is replaced by the Flash movie. Simply include the swfobject.js Javascript file, then use a small amount of Javascript on your page to embed your Flash movie. * Pages sent as text/html, not application/xhtml+xml.įor a full list of changes, please see my SWFObject 1.5 blog post. It is also very search engine friendly, degrades gracefully, can be used in valid HTML and XHTML 1.0 documents*, and is forward compatible, so it should work for years to come. The script can detect the Flash plug-in in all major web browsers (on Mac and PC) and is designed to make embedding Flash movies as easy as possible. SWFObject is a small Javascript file used for embedding Adobe Flash content. If you are curious what Geoff is up to these days, you can follow him on Twitter. Please consider the information found here obsolete. Please read: SWFObject 2.0 has been released and is now hosted on github.
