HTML video tag

HTML Video Tag


HTML 5 supports <video> tag also. The HTML video tag is used for
streaming video files such as a movie clip, song clip on the web page.


HTML Video Tag Example


The code to play mp4 file using HTML video tag.

<video controls>
<source src="movie.mp4" type="video/mp4">
Your browser does not support the html video tag.
</video>


Example


<video controls>
<source src="movie.avi" type="video/avi">
Your browser does not support the html video tag.
</video>








Comments