Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide song names on Jplayer playlist

I implemented the jplayer playlist, because it moves to next song when first one gets finished.

But the thing is, I don't want song names to be displayed on my page.

If I remove this piece of code:

<div class="jp-playlist">
  <ul>
    <li></li>
  </ul>
</div>

The player won't play automatically, it needs to go to 2nd song and then works properly. I want it to play automatically when page loads, thanks in advance.

like image 392
shruti Avatar asked Oct 21 '22 22:10

shruti


1 Answers

Just after your jplayer is initialized, instead remove, why don"t you just hide this like that :

$('.jp-playlist').hide();
like image 115
BENARD Patrick Avatar answered Nov 01 '22 10:11

BENARD Patrick