1

I have the following HTML code, but it is not working, the video does not start... Yet, when I test this code in my browser Chromium, it works perfectly. Any idea of the problem?

<video width="576" height="324" controls  poster="">
<source src="video.mp4" type="video/mp4">
Your browser does not support the video tag or the file format of this video.</video>
Arnaud
  • 7,259
  • 10
  • 50
  • 71
demenvil
  • 1,089
  • 1
  • 12
  • 25

1 Answers1

1

My video is playing fine using your code(in chrome) without giving any troubles so, the problem is with the video you are playing but not the code.

due to Chrome removing support for h264, on some machines(it entirely depends upon the codecs installed on the computer), mp4 videos encoded with it will not work under certain circumstances these issues with video encoding formats in chrome leads the code to not working perfectly.

there are a couple of solutions in stackoverflow you can give a try:

MP4 not playing on Chrome version 27.0

html5 video issue with chrome

cheers!

Community
  • 1
  • 1
Akhil
  • 368
  • 4
  • 16