Soundcloud iframe参数列表?

我正在使用CMS,并希望让用户嵌入Soundcloud音乐和播放列表.

我想避免摆弄API – 因为它似乎没有必要:)

相反,我只是将iframe-src-url与适当的参数拼凑在一起.

我无法在任何地方找到官方列表,所以我从这里和其他地方的各个帖子中收集了我自己的列表:

&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)  

我错过了哪些参数?

我真正想要的是列表的下一个和上一个按钮.他们甚至存在吗?

最佳答案 你错过了:

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.

发现于docs.

看起来next()和prev()和skip(index)都是小部件上的methods而不是参数.您可以通过保留当前轨道的索引并将值传递给start_track参数作为到达下一个和上一个轨道的方法来解决此问题.

点赞