I\'m trying to play an 8.6 second video once completely, and then loop a small section of the video infinitely, to keep the illusion of a never-ending video. So far I\'ve looked
Try the following, to 'rewind' it as soon as it ends:
vidElem.addEventListener("ended", function () { vidElem.currentTime = 2.5; vidElem.play(); }, false);
Updated fiddle: http://jsfiddle.net/Lt4n7/1/