1

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?

2
  • The question doesn't include enough context to see this as a problem about using web applications instead of handling a website / programming besides, troubleshooting questions are off.-topic here. It might be more appropriate for Webmasters or for Stack Overflow Commented Oct 6, 2023 at 21:42
  • Yes, indeed. I asked about it here and it's a bug on YouTube that I reported on the Issue Tracker.
    – emonigma
    Commented Oct 13, 2023 at 10:48

1 Answer 1

1

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

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