All TalkersCode Topics

Follow TalkersCode On Social Media

HTML Video

HTML Video, to add video is only possible with HTML5 before this we can only add videos with the help of some flash plugin.

Browser Support

Internet Explorer 9+, Firefox, Opera, Chrome, and Safari support the <video> element.

Example of Video

<video width="350" height="350" controls>
<source src="demo.mp4" type="video/mp4">
Your browser does not support the video tag.

Code Explanation

  • controlsattribute add extra controls like play, pause, volume to the video.

  • Text between the video tags will only display in browsers that do not support the <video> element.

❮ PreviousNext ❯