Posted By

horizens on 08/18/06


Tagged

javascript actionscript swfObject


Versions (?)

Who likes this?

8 people have marked this snippet as a favorite

jitendramr
kompo
mdavie
vvarp
vali29
jserpa
masondixon
seanpowell


swfObject


 / Published in: JavaScript
 

URL: http://blog.deconcept.com/swfobject/

SWFObject is a small Javascript file used for embedding Macromedia Flash content. 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. 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.

  1. <script type="text/javascript" src="swfobject.js"></script>
  2.  
  3. <div id="flashcontent">
  4. This text is replaced by the Flash movie.
  5. </div>
  6.  
  7. <script type="text/javascript">
  8. var so = new SWFObject("movie.swf", "mymovie", "200", "100", "8", "#FFFFFF");
  9. so.write("flashcontent");
  10. </script>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: seo on November 9, 2009

Anything thing that helps me with the search engine optimisation of my site the better

You need to login to post a comment.