html5 video loop – How To Set HTML5 Video Autoplay?

html5 video loop Play infinitely looping video on-load in HTML5. The autoplay feature has actually been built in to HTML 5 video as an additional attribute

html5 video loop | HTML video loop Attribute

Play infinitely looping video on-load in HTML5 –

<video loop></video>

html5 video controls auto loop

<video controls loop>
  <source src="pakainfo_v1.mp4" type="video/mp4">
  <source src="pakainfo_v1.ogg" type="video/ogg">
  Your browser does not support the video tag.
</video>

autoplay, loop, muted, controls

<video  height="400" width="820" poster="https://www.pakainfo.com/thumbs/boatNew98365-650.jpg" autoplay loop muted="" controls>
        <source src="https://www.pakainfo.com/videos/boatNew98365-692KL569.mp4">
        <source src="https://www.pakainfo.com/videos/boatNew98365-32fJdJAl.webm">
        <p class="warning">Your browser does not support HTML5 video.</p>
</video>

autoplay, loop

<video  height="400" width="820" poster="https://www.pakainfo.com/thumbs/boatNew98365-650.jpg" autoplay loop>
        <source src="https://www.pakainfo.com/videos/boatNew98365-692KL569.mp4">
        <source src="https://www.pakainfo.com/videos/boatNew98365-32fJdJAl.webm">
        <p class="warning">Your browser does not support HTML5 video.</p>
</video>

autoplay, loop, controls

<video  height="400" width="820" poster="https://www.pakainfo.com/thumbs/boatNew98365-650.jpg" autoplay loop controls>
        <source src="https://www.pakainfo.com/videos/boatNew98365-692KL569.mp4">
        <source src="https://www.pakainfo.com/videos/boatNew98365-32fJdJAl.webm">
        <p class="warning">Your browser does not support HTML5 video.</p>
</video>

Don’t Miss : How To Show Video In Html?

I hope you get an idea about html5 video loop.
I would like to have feedback on my infinityknow.com.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.