Update video. Set keyframe every 8 frames and make video length shorter & times of 8 frames.

From stack overflow answer: http://stackoverflow.com/questions/14343727/html5-video-not-looping