HTML Video
The HTML <video>
element is used to show a video on a web page.
An HTML video tag is used to embed
video into your web page. The <video>
element is used to embed video content in an
HTML document without requiring any additional plugin like Flash player. The text
between the video tag is only displayed in the browsers that do not support the video tag.
<video controls>
<source src="nature.mp4" type="video/mp4">
</video>
HTML <video>
Autoplay
To start a video automatically, use the autoplay attribute:
<video autoplay>
<source src="nature.mp4" type="video/mp4">
</video>
HTML <video>
Muted
To start a video automatically,with muted audio muted attribute is used :
<video autoplay muted>
<source src="nature.mp4" type="video/mp4">
</video>