The site added video methods html5

<video id="video" width="100%" height="auto" loop autoplay muted> <source src="video.mp4" type='video/mp4'></source> <source src="video.webm" type='video/webm'></source> </video> 

video file with webm extension works fine, but mp4 through time. It sometimes hangs after 3-5 seconds after the start, it sometimes stops after the first playback, although the loop property is set, it happens 2-3 times and rises. And the second problem, the chrome then plays the first in order video (as it should), then plays the second. What is the reason? PS indulged with codecs for everyone, did not help.

  • From the browser, computer power and Internet speed. It can not download the first video and for this it plays the second only - Yuri
  • on hardly, because I come across this for the first time (and it’s not funny on my project). And the hang of the video in mp4 does not explain this. And I checked this moment on 2 different machines, from 2 different providers. - f1amestar

0