HTML Video TagHTML 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. Currently, there are three video formats supported for HTML video tag:
Let's see the table that defines which web browser supports video file format.
Android also supports mp4 format.HTML Video Tag ExampleLet's see the code to play mp4 file using HTML video tag. Test it NowLet's see the example to play ogg file using HTML video tag. Supporting Browsers
Attributes of HTML Video TagLet's see the list of HTML 5 video tag attributes.
HTML Video Tag Attribute ExampleLet's see the example of video tag in HTML where are using height, width, autoplay, controls and loop attributes. Test it NowMIME Types for HTML Video formatThe available MIME type HTML video tag is given below.
Next TopicHTML svg |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India