5

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.

Fabio Antunes
  • 22,251
  • 15
  • 81
  • 96
shruti
  • 780
  • 9
  • 25

1 Answers1

3

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

$('.jp-playlist').hide();
BENARD Patrick
  • 30,363
  • 16
  • 99
  • 105