Skip to content

Instantly share code, notes, and snippets.

@colinaaa
Created December 18, 2019 02:44
Show Gist options
  • Save colinaaa/690d12d12e909a04494c77228f6b6558 to your computer and use it in GitHub Desktop.
Save colinaaa/690d12d12e909a04494c77228f6b6558 to your computer and use it in GitHub Desktop.
iCourse auto play
document.onvisibilitychange = a => a;
const play = a => {
const v = document.querySelector('video');
v.play();
v.playbackRate = 16;
document.hidden = false;
}
setInterval(a => play(),100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment