0

I have uploaded three videos on my youtube channel, however, when I'm trying to put those three videos on my HTML website, among those videos one gets played, and the other two videos show the thumbnail but when I try to play it shows that the video is unavailable. I've attached the embedded code for that video.

<iframe width="100%" height="228" src="https://www.youtube.com/embed/U5jhsfVzcAk" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

It would be great if someone can suggest something on this!

2 Answers2

1

This video is blocked in embeded mode. Try with this Casey Neistat video id : bzE-IMaegzQ it will work.

Here's the Google's policy : https://support.google.com/youtube/answer/6301625?hl=en

Louis Grasset
  • 180
  • 2
  • 12
0

The autoplay policy was changed recently. here is a post describing the options:

YouTube Autoplay not working

Rami Khawaly
  • 126
  • 3
  • 14
  • yes, I know but one video which I had uploaded on youtube is working properly on the website, however, the other two are not working and the one's link I have shared in the question itself. – Mujtaba Ahmed Jan 10 '20 at 13:58
  • https://www.youtube.com/watch?v=oREsN64Hn54&t=54s This is the new video which has been uploaded successfully on my website. Please if possible try to provide any solution for this – Mujtaba Ahmed Jan 10 '20 at 16:23