0
Hi Germi,
Now the JWPlayer works fine on my future site ... but when I open a new session on my site, no playlist is loaded and the player displays an error ... :unsure:
I didn't find any parameter about a default playlist. So I modified :
joomla/modules/mod_muscol_jwplayer/helper.php line 36 :
// we'll get the current playlist from the session
$session = &JSession::getInstance('','');
$playlist_id = $session->get('current_playlist') ; // the playlist is an array
if(!$playlist_id) $playlist_id = 2;
// echo '$playlist_id=' . $playlist_id;
Playlist 2 is my default one ...
Am I missing something ?
Is there another way to get a default playlist ?
Are there any consequences with my modification ?
Thanks for your answer ...
Best
Gino
Now the JWPlayer works fine on my future site ... but when I open a new session on my site, no playlist is loaded and the player displays an error ... :unsure:
I didn't find any parameter about a default playlist. So I modified :
joomla/modules/mod_muscol_jwplayer/helper.php line 36 :
// we'll get the current playlist from the session
$session = &JSession::getInstance('','');
$playlist_id = $session->get('current_playlist') ; // the playlist is an array
if(!$playlist_id) $playlist_id = 2;
// echo '$playlist_id=' . $playlist_id;
Playlist 2 is my default one ...
Am I missing something ?
Is there another way to get a default playlist ?
Are there any consequences with my modification ?
Thanks for your answer ...
Best
Gino
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »