HTML Video Tag

The HTML <video> tag is used to embed a video content on the website by containing one or more video sources with <source> tags.

The <video> can also use for audio content, however there’s a specific <audio> element for embedding audio content. It’s recommend to be explicit by using <audio> tag for audio content, <video> for video content.

The <video> tag supports MP4, WebM, and OGG video content.

Demo

<video controls width="100%">
    <source src="https://jorcus.com/video.mp4"
            type="video/mp4">
    Sorry, your current browser doesn't support embedded videos.
</video>

Output

Browser Compatibility

BrowserChromeEdgeFirefoxOperaSafari
<video>4.09.03.511.53.1