<video controls src="video.mp4" width="100">
same as HTML Audio, we can add attributes like autoplay
, muted
, loop
we can add backup video file in case if web browser doesn’t support given video file. here is how to do that :
<video controls autoplay>
<source src="video.mp4">
<source src="backup.mp4">
This browser doesnt does not support HTML5 video files
</video>