Google Ad

Working with media Self hosted audio files Audio Player with Playlist V2 PHP Script


Working with media Self hosted audio files Audio Player with Playlist V2 PHP Script

 

Player support self hosted mp3 audio files.

Playlist item example

Minimal:

 
 
  1. <li class="hap-playlist-item" data-type="audio" data-mp3="../mp3-dir/audio1main/04.mp3"></li>

 

Full:

 
 
  1. <li class="hap-playlist-item" data-type="audio" data-mp3="../mp3-dir/audio1main/04.mp3" data-artist="Tim McMorris" data-title="Happy Days Are Here To Stay" data-thumb="../mp3-dir/audio1hap_thumb/01.jpg" data-share="http://audiojungle.net/item/happy-days-are-here-to-stay/484531?ref=Tean" data-download="../mp3-dir/audio1main/04.mp3" data-start="2" data-end="13" data-playback-rate="1.5" data-link="http://codecanyon.net/user/Tean/portfolio" data-target="_blank"></li>

 

Required Description
data-type yes audio
data-mp3 yes path to mp3 file
data-artist artist name
data-title song title
data-thumb path to thumb image
data-download download path
data-link playlist item url link
data-target blank/parent, http://www.w3schools.com/tags/att_a_target.asp
data-share share url link
data-start media start time in seconds
data-end media end time in seconds
data-playback-rate media playback speed: http://www.w3schools.com/tags/av_prop_playbackrate.asp

 

Have any Question or Comment?

Leave a Reply

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

"