Working with playlist Audio Player with Playlist V2 PHP Script


Working with playlist Audio Player with Playlist V2 PHP Script

 

This section explains how to load a playlist on start (using activePlaylist, activeItem options)

Audio playlist example:

 <ul id="playlist-audio1">
    <li class="hap-playlist-item" data-type="audio" data-mp3="../mp3-dir/audio1main/01.mp3"></li>
  
    <li class="hap-playlist-item" data-type="audio" data-mp3="../mp3-dir/audio1main/02.mp3"></li>
       
    <li class="hap-playlist-item" data-type="audio" data-mp3="../mp3-dir/audio1main/03.mp3"></li>
</ul>

 

To load this playlist on start use this settings:

 activePlaylist:"playlist-audio1",
activeItem:0,

 

Soundcloud playlist example:

 <ul id="playlist-soundcloud1">
    <li class="hap-playlist-item" data-type="soundcloud" data-path="http://soundcloud.com/trance/sets/magix-revolta-2/" data-limit="12" data-download=""></li>
</ul>

 

To load this playlist on start use this settings:

 activePlaylist:"playlist-soundcloud1",
activeItem:0,

 

 



Find More related Working with playlist Audio Player with Playlist V2 PHP Script


Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *