Google Ad

Soundcloud Settings Audio Player with Playlist V2 PHP Script


Soundcloud Audio Player with Playlist V2 PHP Script

 

Soundcloud requires API key, register here: http://soundcloud.com/you/apps/new and enter Client ID in settings: soundCloudAppId

Soundcloud playlist examples

track set:

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

 

user tracks:

 
 
  1. <ul id="playlist-soundcloud2">
  2. <li class="hap-playlist-item" data-type="soundcloud" data-path="http://soundcloud.com/computer-magic" data-limit="15"></li>
  3. </ul>

 

single track:

 
 
  1. <ul id="playlist-soundcloud3">
  2. <li class="hap-playlist-item" data-type="soundcloud" data-path="http://soundcloud.com/trance/trance-single-138-bpm-anvil"></li>
  3. </ul>

 

user likes:

 
 
  1. <ul id="playlist-soundcloud4">
  2. <li class="hap-playlist-item" data-type="soundcloud" data-path="http://soundcloud.com/an21/likes" data-limit="11"></li>
  3. </ul>

 

group:

 
 
  1. <ul id="playlist-soundcloud5">
  2. <li class="hap-playlist-item" data-type="soundcloud" data-path="https://soundcloud.com/groups/electronic-freakshow-efs-members-friends" data-limit="27"></li>
  3. </ul>

 

Required Description
data-type yes soundcloud
data-path yes soundcloud url
data-limit number of results to retrieve
data-artist overwrite artist name
data-title overwrite song title
data-thumb overwrite thumb image
data-thumb-quality default thumb quality is large. Set different thumb quality: https://developers.soundcloud.com/docs/api/reference#artwork_url
example: data-thumb-quality=”t300x300.jpg”
data-thumb-default default thumb path for items that do not have thumb set
data-download custom download path or make track downloadable, if track is downloadable by Soundcloud.
data-download=”path/to/custom/download/path”
data-download (make track downloadable)
data-link playlist item url link
data-target blank/parent, http://www.w3schools.com/tags/att_a_target.asp
data-share custom share url link or share soundcloud url.
data-share=”enter/path/to/custom/share/path”
adding empty data-share attribute will share soundcloud url
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 *

"