Easy Tutorial
❮ Att Tfoot Align Att Html Manifest ❯

HTML Audio/Video DOM loop Attribute

HTML Audio/Video DOM Reference Manual

Example

Set the video to loop:


Definition and Usage

The loop attribute sets or returns whether the audio/video should replay after it ends.


Browser Support

All major browsers support the loop attribute.

Note: Internet Explorer 8 and earlier versions do not support this attribute.


Syntax

Set the loop attribute:

Return the loop attribute:

Attribute Values

Value Description
true Indicates that the audio/video should replay after it ends.
false Default. Indicates that the audio/video should not replay after it ends.

Technical Details

Return Value: Boolean, true false
Default Value: false
--- ---
❮ Att Tfoot Align Att Html Manifest ❯