Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Play infinitely looping video on-load in HTML5
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.
Your browser does not support the video element.
If you have a problem with the loop attribute, listen to the videoEnd event. After that call the play() method when it fires.
Advertisements
