HTML5 Video Tag Attributes
HTML5 introduces the new <video> tag for movie clips and streaming video.
Here are the attributes of the new tag.
|audio||muted||Defining the default state of the the audio. Currently, only "muted" is allowed|
|autoplay||autoplay||If present, then the video will start playing as soon as it is ready|
|controls||controls||If present, controls will be displayed, such as a play button|
|height||pixels||Sets the height of the video player|
|loop||loop||If present, the video will start over again, every time it is finished|
|poster||url||Specifies the URL of an image representing the video|
|preload||preload||If present, the video will be loaded at page load, and ready to run. Ignored if “autoplay” is present|
|src||url||The URL of the video to play|
|width||pixels||Sets the width of the video player|
Learn how to use the Video Tag