An open API service indexing awesome lists of open source software.

https://github.com/prayerslayer/scplaylist

A jQuery plugin that turns a bunch links to SC tracks on your website into a simple playlist, regardless of their DOM position.
https://github.com/prayerslayer/scplaylist

Last synced: about 2 months ago
JSON representation

A jQuery plugin that turns a bunch links to SC tracks on your website into a simple playlist, regardless of their DOM position.

Awesome Lists containing this project

README

          

== SoundCloud Playlist ==

It turns all links to tracks on SC on your page into custom players that are linked via a simple playlist feature - one track ends, the next starts. The plugin collects all tracks in a container you specify, regardless of their position in the DOM.

=== Dependencies ===

jQuery, of course. Then sc-player.js and soundcloud.player.api.js from SoundCloud, a CSS for the custom player would also be nice. Look [http://developers.soundcloud.com/docs/custom-player here].

=== Usage ===

Simple. Add links to tracks on SoundCloud like this:

Track name

It's important that all tracks that you want in a playlist share a CSS class. You're now one function call away from your playlist:

$(document).ready(function() {
$(div-containing-your-tracks).SCPlaylist();
});

If you want to use a class other than "track", call it like this:

$(document).ready(function() {
$(div-containing-your-tracks).SCPlaylist({
"tracks": "your-class"
});
});

Check out the example too!