File Format |
Media Type |
MP4 |
video/mp4 |
WebM |
video/webm |
Ogg |
video/ogg |
The HTML DOM provides methods, properties, and events specifically for the <video>
element.
These enable tasks such as loading, playing, and pausing videos, as well as adjusting settings like duration and volume.
Additionally, DOM events are available to inform you when a video starts playing, pauses, and more.
Tag |
Description |
<video> |
Defines a video or movie |
<source> |
Defines multiple media resources for media elements, such as <video> and <audio> |
<track> |
Defines text tracks in media players |