Skip to content

Instantly share code, notes, and snippets.

@haruta
Last active August 29, 2015 14:06
Show Gist options
  • Save haruta/7557db295adede302a5d to your computer and use it in GitHub Desktop.
Save haruta/7557db295adede302a5d to your computer and use it in GitHub Desktop.
youtube で loop 再生させる
document.getElementsByTagName('video')[0].addEventListener('ended', function(e){ e.target.play(); });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment