HTML "video" Tag
<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
Post a Comment