/ Published in: JavaScript
include document ready and standard code to run swfobject smoothly in IE6
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(document).ready(function(){ var so = new SWFObject("ep_player.swf", "ep_player", "269", "226", "9", "#FFFFFF"); so.addVariable("skin", "skins/nobius_blue/skin.xml"); so.addVariable("playlistxml", "<? echo $playlist; ?>"); so.addVariable("autoplay", "false"); so.addVariable("shuffle", "false"); so.addVariable("buffertime", "1"); so.addVariable("wmode", "transparent"); so.write("flashcontent"); });