Skip to content

Instantly share code, notes, and snippets.

@achur
Created March 10, 2014 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save achur/9470172 to your computer and use it in GitHub Desktop.
Save achur/9470172 to your computer and use it in GitHub Desktop.
Fix for sway.fm+Grooveshark
controller = new BasicController({
supports: {
playpause: true,
next: true,
previous: true,
},
playStateSelector: '#play-pause',
playStateClass: 'playing',
playPauseSelector: '#play-pause',
nextSelector: '#play-next',
previousSelector: '#play-prev',
titleSelector: '.now-playing-link.song',
artistSelector: '.now-playing-link.artist',
artworkImageSelector: '#now-playing-image',
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment