I\'m having a weird problem. My two versions of chrome(regular & canary) refuse to loop the video i\'m showing. Or well, sometimes they loop it twice and stops after that. W
For some reason I had issues with 'ended' event binding.
Here is how I fixed it:
added onended to invoke replay()
<video autoplay='true' onended="replay()"></video>
defined replay() as below:
function replay() { console.log('video ended'); document.getElementsByTagName('video').currentTime = 0; document.getElementsByTagName('video')[0].play(); }