SWFObject 1.5 / IE6 JQUERY Compatible


/ Published in: JavaScript
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.