Looping YouTube Video

Hello we are trying to get a youtube embedded video to loop, and not show related videos

We tried adding

?rel=0?version=3&autoplay=1&controls=0&showinfo=0&loop=1

But all that did was autoplay the video, how do we get the video to only loop?

we Also tried only adding

&loop=1

That did not do anything either, thanks for your help

Hi @Stigan,

Thanks for reaching out.
There might be some different reason behind that the video does not play in the loop after adding the parameter you mentioned in your comment, please make sure that you have added the parameters properly. I have tried the same in the local environment and it works perfectly, please find the sample code below:

<iframe width=”420" height=”315" src="https://www.youtube.com/embed/tgbNymZ7vqY?playlist=tgbNymZ7vqY&loop=1">
</iframe>

Please remember that the above code is a sample code, and it varies from case to case, and we can’t be guaranteed it works for you.

Thanks

Thank you i figured ou the problem, I was missing the ?playlist= part

Thanks

You are most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.