HTML5 video will not loop

Ah, I just stumbled into this exact problem.

As it turns out, looping (or any sort of seeking, for that matter) in <video> elements on Chrome only works if the video file was served up by a server that understands partial content requests. i.e. the server needs to honor requests that contain a “Range” header with a 206 “Partial Content” response. This is even the case if the video is small enough to be fully buffered by chrome, and no more server-round trips are made: if your server didn’t honor chrome’s Range request the first time, the video will not be loopable or seekable.

So yes, an issue with GridFS, although arguably Chrome should be more forgiving.

Leave a Comment