The video Element part 1

HTML Fundamentals
HTML5
The video Element
33
1/2
         

Videos in HTML



The video element is similar to the audio element. 
You can specify the video source URL using an attribute in a video element, or using source elements inside the video element:
<video controls>
<source src="video.mp4" type="video/mp4">
<source src="video.ogg" type="video/ogg">
Video is not supported by your browser
</video>
Try It Yourself

Another aspect that the audio and video elements have in common is that the major browsers do not all support the same file types. If the browser does not support the first video type, it will try the next one.

Comments