Default Playlist

0
There is a option to create a playlist that add automatically to the jw player, I want this option to the unregistered and rookie users.
Some users don't like to make too much procedures to create a playlist so i wanna make a default playlist, so when my page load the playlist is ready to listen in the jw player module
Responses (4)
  • Accepted Answer

    Friday, December 11 2009, 04:40 PM - #Permalink
    0
    open /modules/mod_muscol_jwplayer/helper.php

    add this after line 29:

    if($playlist_id == "") $playlist_id = 4;


    "4" being the ID of the playlist you want to be the default

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    Siasb
    Siasb
    Offline
    Wednesday, December 30 2009, 11:07 PM - #Permalink
    0
    Germi,

    This works well for setting the player with the defaults. However, when we pop out the player from the page to a new Window, it does not detect the default set. If we hit the button to set the default in the player list, it then loads the list in the popped out player. It seems there must be a similar, but separate operation as the one above to load the playing list in the popped out player in the new window. Do you know right off where in the code I need to change that as well? Thanks in advance.
    The reply is currently minimized Show
  • Accepted Answer

    Siasb
    Siasb
    Offline
    Wednesday, January 13 2010, 06:21 AM - #Permalink
    0
    Germi,

    I also fond a similar code in /plugins/muscolplayers/jwplayer.php , but changing that does not help load the list when we popup the list. Do you know where should I look? Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Siasb
    Siasb
    Offline
    Wednesday, January 13 2010, 10:21 AM - #Permalink
    0
    Ok, no problem, I found it. It was in the same file you listed earlier but lower down the file :-)


    /modules/mod_muscol_jwplayer/helper.php


    Under the getPopupPlayer function, somewhere around line 140 (after previous changes).

    Now, the default list is loaded when the player is popped up as well :-)
    The reply is currently minimized Show
Your Reply