html

Play YouTube video in loop HTML Iframe

To play a youtube video in the loop if it is embedded using HTML Iframe, you can pass loop=1 as a parameter in the src attribute.

<iframe 
    width="500" 
    height="350" 
    src="https://www.youtube.com/embed/0J7jtipQEWY?loop=1">
</iframe>
Was this helpful?