Skip to content

Instantly share code, notes, and snippets.



Created Aug 9, 2014
What would you like to do?
Autoplay/loop RapGenius album streams e.g.
$.each(mejs.players, function(i, p) { = function() {
mejs.players[(i == mejs.players.length - 1 ? 0 : i + 1)].play()

This comment has been minimized.

Copy link
Owner Author

@s2tephen s2tephen commented Aug 9, 2014

Run this in your browser console and the album will loop... someone can turn this into a bookmarklet, I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment