How to open .mov format video in HTML video Tag?

Divyang Patel picture Divyang Patel · Jul 13, 2015 · Viewed 126.7k times · Source

I want to play .mov video like as this, but video doesn't play in any browser.

<video width="400" controls Autoplay=autoplay>
  <source src="D:/mov1.mov" type="video/mov">
</video>

Answer

Yazdan Haider picture Yazdan Haider · Jul 1, 2017

You can use below code:

<video width="400" controls autoplay>
    <source src="D:/mov1.mov" type="video/mp4">
</video>

this code will help you.