|
#1
|
|||
|
|||
|
I noticed that the wmode parameter seems not to have any effect, right now.
So I took a look into the playerv2.js, chanded it a bit and came to following result: line ~24: [...] deconcept.SWFObject=function(_1,id,w,h,_5,c,_6,_7, _8,_9,_a) { if(!document.getElementById) { [...] line ~38 (don't know if its necessary): [...] if(_6){this.setAttribute("wmode",_6);} if(_6){this.addParam("wmode",_6);} [...] line ~119: [...] _19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" wmode=\""+this.getAttribute("wmode")+"\" name=\""+this.getAttribute("id")+"\" "; var _1a=this.getParams(); [...] line ~366: [...] var hashBgColor = parameters["backgroundColor"].replace("0x","#"); var so = new SWFObject(swfURL, uniqueID , parameters["width"], parameters["height"], (isLinux ? "9.0.31.0" : "9.0.28.0"), hashBgColor, parameters["wmode"]); [...] line ~371 (don't know if its necessary): [...] so.addParam("allowFullScreen", parameters["allowFullScreen"]); so.addParam("wmode", parameters["wmode"]); so.addVariable("version", 11); so.addVariable("backgroundColor", parameters["backgroundColor"]); so.addVariable("allowFullScreen", parameters["allowFullScreen"]); so.addVariable("wmode", parameters["wmode"]); so.addVariable("allowScriptAccess", "always"); [...] line ~421: [...] parameters["width"] = "400"; parameters["wmode"] = "window"; parameters["height"] = "400"; [...] line ~429: [...] if(source[0].match... <- Changed this into an Test URL [...] line ~459: [...] else if(pair[0] == "allowFullScreen") parameters["allowFullScreen"] = pair[1]; else if(pair[0] == "wmode") parameters["wmode"] = pair[1]; else [...] Linenumbers are from after the change, so they may differ. Also I might have forgotten some lines, so check the Attachment. These changes will make the wmode parameter work, so please add them to the script. wmode is an necessary parameter when you want to implement an player into an website. Ill add the JavaScript as Attachment (rename its to ".js"). Regards Joel Schmidt Last edited by FVMK; 27th August 2009 at 14:03. |
|
#2
|
|||
|
|||
|
hi,
i want to using my personal player, what can i do to take my mogulus streaming ? i will see the code for plaverv2.js but if i put it on my server with my code (usertv) nothing happen ... ;( please help me best regards peyiprod production
__________________
All You Need is LOVE |
|
#3
|
|||
|
|||
|
Yep, this is a show-stopper. It's just a hacked up version of swfobject.js they're using, and they broke wmode.
|
|
#4
|
|||
|
|||
|
Thanks for reporting this. We are looking into it.
|
|
#5
|
|||
|
|||
|
This is affecting a launch for a media company that is using your player
|
|
#6
|
|||
|
|||
|
Since there where some updates I'll upload an up-to-date script, see the attachment (rename it to ".js").
Regards Joel Schmidt |
|
#7
|
|||
|
|||
|
Thanks *SO* much for posting this. Life saver.
S |
|
#8
|
|||
|
|||
|
Thank you for posting this, I just ran into this problem as well. I am surprised that Mogulus has not yet updated this!
|
|
#9
|
|||
|
|||
|
Could you please tell me how to configure javascript src= to use modified playerv2.js
on my website instead of livestream.com? <script src="http://static.mogulus.com/scripts/playerv2.js?channel=surfshooterhawaii&layout=playe rEmbedDefault |
|
#10
|
|||
|
|||
|
Quote:
Since you use "your own" script you have to give the location of your script on your server, so the browser can locate it. Example: <script src="http://www.your_website.com/some_folder/playerv2.js?channel=surfshooterhawaii&[...] |
![]() |
| Tags |
| flash, javascript, player, playerv2.js, wmode |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|