A video that will start over again, every time it is finished:
The loop attribute is a boolean attribute.
When present, it specifies that the video will start over again, every time it is finished.
The numbers in the table specify the first browser version that fully supports the attribute.
Attribute | |||||
---|---|---|---|---|---|
loop | 4.0 | 9.0 | 11.0 | 4.0 | 10.5 |
The <video> tag is new in HTML5.
In XHTML, attribute minimization is forbidden, and the loop attribute must be defined as <video loop="loop">.