ToneDen / Player

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

Bugs with creating multiple players #4

Closed tim-thimmaiah closed 10 years ago

tim-thimmaiah commented 10 years ago

See latest commit.

Changing the theme correctly initializes the new player however there are issues when playing the music between the players. Maybe we need a 'playerInstance.destroy()'?

elsbree commented 10 years ago

This is fixed. The player instances have a destroy() method which removes dom listeners and purges the containing element.