Video HTML autoplay loop

Play infinitely looping video on-load in HTML5

HTMLJavascriptProgramming Scripts

The

The loop attribute is a boolean attribute. When present, it specifies that the video will start over again, every time it is finished.

The loop attribute should do it.

If you have a problem with the loop attribute, listen to the videoEnd event. After that call the play() method when it fires.

Video HTML autoplay loop
Arjun Thakur
Published on 20-Mar-2018 12:30:44
Previous Page Print Page
Next Page
Advertisements