start video in html code example
Example 1: html video autoplay
<!--
Video autoplay in html is a boolean attribute, which plays the video automatically when the video gets loaded on web page.
-->
Syntax:
<video autoplay>
Example:
<video controls autoplay>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
</video>
<!--
I hope it will help you.
Namaste
Stay Safe Stay Home
-->
Example 2: html5 video player
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag. <!-- Text to be shown incase browser doesnt support html5 -->
</video>