ToneDen / Player

A pure JS customizable audio player for SoundCloud.
toneden.io/player
MIT License
529 stars 77 forks source link

'addTracks' Method on Player Instances #31

Closed elsbree closed 9 years ago

elsbree commented 9 years ago

There will be a playerInstance.addTracks([urls]) method on player instances. The method should take an array of URLs or a single URL and append them to the currently loaded playlist.

This is different from calling update() with a new 'urls' parameter because the update method causes the player to reload the playlist. The addTracks method will just add tracks to the end of the current urls array without causing a reload of already-existing tracks.