0

I have a public video on YouTube that I embedded on my website with this code:

<iframe src="https://www.youtube.com/embed/UHOX6jH00kE?autoplay=1&loop=1&list=UHOX6jH00kE" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen)

This embed shows an error:

YouTube embed error

even though the video is public and made for kids.

How can I fix it?

1 Answer 1

0

The right GET parameter is playlist, not `list. So this is the working link:

https://www.youtube.com/embed/UHOX6jH00kE?autoplay=1&loop=1&playlist=UHOX6jH00kE

Source: https://stackoverflow.com/questions/13041088/getting-an-embedded-youtube-video-to-auto-play-and-loop

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.