HTML "video" Tag

HTML "video" Tag The <video> is used to embed video in an HTML document The <source> contains one or more file names for video.
The supported video media file extensions are:

mp4, ogg, webm



The MIME(Multipurpose Internet Mail Extensions) are video/mp4, video/ogg and video/webm

Example:

<video width="200" height="240" controls>
<source src="movie.mp4" type="video/mp4" />
<source src="movie.ogg" type="video/ogg" />
<source src="movie.webm" type="video/webm" />
Your browser does not support the video tag.
</video>


The <video> tag contains one or more <source> tags with different video sources. The browser will choose the first source it supports.

The text between the <video> and </video> tags will only be displayed in browsers that do not support the <video> element.

Comments

Popular posts from this blog

Parallel Database design, query processing

Laravel | PHP | Basics | Part 2

Apache Hadoop | Running MapReduce Jobs