HTML: Video tag

The <video>…. </video> tag is used to play video files.

Supports: MP4, Ogg, WebM, etc.

AttributeValueDescription
autoplayautoplayPlay a video file immediately or automatically on the loading of  a web page
controlscontrolsDisplay the controls on a web page such as a play button etc
heightpixelsSets the height of the video player
looploopSpecifies that the video will start over again, every time it is finished
mutedmutedSpecifies that the audio output of the video should be muted
posterURLSpecifies an image to be shown while the video is downloading, or until the user hits the play button
preloadauto
metadata
none
Specifies if and how the author thinks the video should be loaded when the page loads
srcURLSpecifies the URL of the video file
widthpixelsSets the width of the video player
vikashdev k
Latest posts by vikashdev k (see all)
Tagged : / / / /
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x