The <video>…. </video> tag is used to play video files.
Supports: MP4, Ogg, WebM, etc.
Attribute | Value | Description |
autoplay | autoplay | Play a video file immediately or automatically on the loading of a web page |
controls | controls | Display the controls on a web page such as a play button etc |
height | pixels | Sets the height of the video player |
loop | loop | Specifies that the video will start over again, every time it is finished |
muted | muted | Specifies that the audio output of the video should be muted |
poster | URL | Specifies an image to be shown while the video is downloading, or until the user hits the play button |
preload | auto metadata none | Specifies if and how the author thinks the video should be loaded when the page loads |
src | URL | Specifies the URL of the video file |
width | pixels | Sets the width of the video player |
Latest posts by vikashdev k (see all)
- PHP OOP: Traits - October 25, 2021
- PHP OOP: Late Static Binding - October 25, 2021
- PHP OOP : Static Members - October 23, 2021