HTML Video
The video element plays video with controls. Set width and height, add poster for a preview image and mute plus autoplay together if it must start by itself.
Example
<video width="260" controls muted>
<source src="movie.mp4" type="video/mp4">
Your browser does not support video.
</video>Exercise
Preview image attribute.
<video ="cover.jpg">
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.