fshbrsh
fshbrsh

Reputation: 1

Have HTML5 video reset itself to beginning after it plays through?

Is there a way to have a HTML5 video reset itself to the beginning after it plays through? Will be displaying the video through Safari on an iPad primarily.

Upvotes: 0

Views: 85

Answers (1)

Alan Berdinelli
Alan Berdinelli

Reputation: 306

Just add the loop attribute in your <video> tag.

<video loop>
 <source src="something.mp4" type="video/mp4">
</video>

Upvotes: 1

Related Questions