comment at 0.00
Hacking The SoundCloud Widget
The embeddable SoundCloud players are extremely portable, and we like to think they’re quite nice, but sometimes you want to tweak them just a bit to make them really fit your needs.
All of the hacks in this guide are available on the default player, but in order to get access to the “Artwork” and “Mini” players, you need to have at least a Lite account.
In order to make changes to the way players appear, you just need to modify some of the values in the embed code. If you look at the embed code you copy and paste from the share box, you can see that it’s not just a block of text—in fact, there are variables that you can change in order to affect the player. Here’s a list of the variables, and an explanation of what each does:
buying true shows the buy buttons, false hides them.
sharing true shows the share buttons, false hides them.
download true shows the download buttons, false hides them.
show_bpm true shows the bpm display in the player, false hides it.
show_playcount true shows the number of track plays, false hides it.
text_buy_track the string of text that will show on the track’s Buy button.
text_buy_set the string of text that will show on the set’s Buy All button.
Of course, you can also change the height or width of the player. Doubling the height or width of an artwork player will allow the artwork and the player to appear right next to or on top of each other.
- Blog post: Hacking the SoundCloud Player
- Blog post: Customize the ‘Buy’ and ‘Download’ Buttons on your Player Embeds
- More HTML parameters on Github