How to loop an embeded YouTube video?
20,154
You shoud add playlist=VIDEO_ID at your src
<div class='embed-container'>
<iframe
src="https://www.youtube.com/embed/Yo19ZhO7CAc?autoplay=1&loop=1&cc_load_policy=1rel=0&controls=0&showinfo=0&playlist=Yo19ZhO7CAc"
frameborder="0"
allowfullscreen>
</iframe>
</div>
Author by
user1724434
Updated on December 21, 2020Comments
-
user1724434 over 3 years
I am embedding a YouTube video without playback controls, or video title, but I want it to autoplay and loop. Everything works except the loop. What am I doing wrong?
<div class='embed-container'><iframe src="https://www.youtube.com/embed/Yo19ZhO7CAc?autoplay=1&loop=1&cc_load_policy=1rel=0&controls=0&showinfo=0" frameborder="0" allowfullscreen></iframe></div>
-
Admin almost 7 yearsV E R Y N I C E. I T W O R K E S