Skip to content

Instantly share code, notes, and snippets.

@jessevondoom
Last active December 18, 2015 23:39
Show Gist options
  • Save jessevondoom/5862770 to your computer and use it in GitHub Desktop.
Save jessevondoom/5862770 to your computer and use it in GitHub Desktop.
cashmusic.js audio player via json
<div class="cashmusic soundplayer playlist"
data-playlist='{
"id":"player1",
"artist":"Artist name",
"album":"Album title",
"tracks":[
{"id":"unique1","title":"Song title 1","url":"path/to/song1.mp3"},
{"id":"unique2","title":"Song title 2","url":"path/to/song2.mp3"}
]
}'
></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment