greengeek
greengeek
Offline
0
I noticed I can set the colors for the JW Player MODULE. However if one clicks on the "Show player in popup" link a new window appears and it does not use any of the color settings I set. What would I need to modify so that the popup player will use the same color settings as the main JW Player MODULE when it is not popped up? I am guessing it is something in side the mod_muscol_jwplayer\\helper.php file?
Responses (2)
  • Accepted Answer

    Monday, March 28 2011, 08:55 AM - #Permalink
    0
    uops! another bug found by greengeek! ;)

    yes that's the file. the last function is called getPopupPlayer.
    I'm guessing that the problem is that the variable passed to this function ($params) is probably empty... I never noticed that!!

    to pass the $params correctly can require some coding... :S

    I know this solution is rubbish, but...
    the easiest thing you can do is just "hardcode" the color codes a few lines below, where it says:

    // the params
    $array_params = array();



    :S :S
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Thursday, March 31 2011, 12:42 AM - #Permalink
    0
    Thank you. That works for now. I hard coded it like so:


    // the params
    $array_params = array();
    $array_params["backcolor"] = "333333";
    $array_params["frontcolor"] = "EEEEEE";
    $array_params["lightcolor"] = "EEEEEE";
    $array_params["screencolor"] = "333333";



    Where would I find the code to set the body/page background of the player popup window?
    The reply is currently minimized Show
Your Reply