The HTML tag is used for streaming video files such as a movie clip, song clip on the web page.
Currently, there are three video formats supported for HTML video tag:
mp4
webM
ogg
Let's see the table that defines which web browser supports video file format.
HTML Video Tag Example
Let's see the code to play a mp4 file using HTML video tag.
Let's see the example to play an ogg file using HTML video tag.
Supporting Browsers
Attributes of HTML Video Tag
Let's see the list of HTML 5 video tag attributes.
HTML Video Tag Attribute Example
Let's see the example of video tag in HTML where are using height, width, autoplay, controls and loop attributes.
MIME Types for HTML Video format
The available MIME type HTML video tag is given below.
Follow me Twitter for more content on web development and personal growth.