Skip to content

Instantly share code, notes, and snippets.

@menixator
Last active August 29, 2015 14:08
Show Gist options
  • Save menixator/d9ebf99182fd592b59e3 to your computer and use it in GitHub Desktop.
Save menixator/d9ebf99182fd592b59e3 to your computer and use it in GitHub Desktop.
Looping videos on youtube

Just open up the developer tools and run:

document.querySelector('video').loop = true;

UPDATE:

Just right click twice with the cursor in the same position twice. You'll see the default context menu. Select loop from it.

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