Posted By

apro2000 on 03/14/09


Tagged

javascript js flash jquery ie6 swfObject


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Bluewall
LeeRJohnson


SWFObject 1.5 / IE6 JQUERY Compatible


 / Published in: JavaScript
 

include document ready and standard code to run swfobject smoothly in IE6

  1. $(document).ready(function(){
  2. var so = new SWFObject("ep_player.swf", "ep_player", "269", "226", "9", "#FFFFFF");
  3. so.addVariable("skin", "skins/nobius_blue/skin.xml");
  4. so.addVariable("playlistxml", "<? echo $playlist; ?>");
  5. so.addVariable("autoplay", "false");
  6. so.addVariable("shuffle", "false");
  7. so.addVariable("buffertime", "1");
  8. so.addVariable("wmode", "transparent");
  9. so.write("flashcontent");
  10. });

Report this snippet  

You need to login to post a comment.