Created
March 10, 2014 17:46
-
-
Save achur/9470172 to your computer and use it in GitHub Desktop.
Fix for sway.fm+Grooveshark
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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