7

I'm working on a CMS, and want to let users embed Soundcloud tunes and playlists.
I'd like to avoid fiddling with the API - since it doesn't appear to be necessary: )
Instead I just piece together an iframe-src-url with the appropriate parameters.
I was unable to find an official list anywhere, so I've collected my own, from various posts here and elsewhere:

&color=FF4444  // play-button and equalizer graphic (if not &visual=true)  
&auto_play=false  // shouls be obvious  
&show_artwork=true  // show the artist-graphic on the left  
&show_comments=true  // show fans commenst under equalizer  
&show_playcount=true  // number of times played @ bottom right  
&hide_related=true  // don't force user over to Soundcloud after play  
&show_user=false  // don't show uploaders name @ top left
&show_reposts=false  // ?
&liking=fals‌​e  // dont show [Like] button  
&visual=true  // use artist-graphic for background (way cooler)  
&buying=false  // no Buy (iTunes) button  
&sharing=false  // no [Share] button  
&download=false  // no download button  
&start_track=4  // start at specific track (for lists)

And guesed : )  
&following=false (removes [Follow] when mouseover artwork)  

What parameters am I missing?

What I really want is Next and Previous buttons for lists. Do they even exist?

T4NK3R
  • 4,245
  • 3
  • 23
  • 25

1 Answers1

3

You're missing:

download=true // Show/hide download buttons
sharing=true  // Show/hide share buttons/dialogues
start_track=0 // Preselects a track in the playlist, given a number between 0 and the length of the playlist.

Found in the docs.

It looks like next() and prev() and skip(index) are all methods on the widget rather than parameters. You can get around this by keeping an index of the current track and pass in a value to the start_track parameter as a way to get to the next and previous tracks.

JAL
  • 41,701
  • 23
  • 172
  • 300
  • Thank you - added 3 new to the list : ) I was afraid of that answer. The start_track trick would require the listener to never finish a track : ( – T4NK3R Feb 29 '16 at 20:15
  • @T4NK3R These are all of the public parameters. What you're asking for doesn't exist. I've done my best to provide a solution with the interfaces exposed. – JAL Feb 29 '16 at 20:17
  • I know, and appreciate! - but still hoping there for a secret/experimental one... – T4NK3R Feb 29 '16 at 20:27
  • I just realized: If the iframe is tall enough (+225px) the tracks are listed under the, with titles, plays and everything = No need for next/prev buttons : ) – T4NK3R Feb 29 '16 at 23:16