I have a list of embedded youtube videos. My problem is that out of the four videos I display one returns the error: Video not available
.
I have tried changing the browser, but it doesn't work either. I have also checked if the video allows being embedded on external sides. If I look at the console of my browser no exception is thrown.
<li class="col-sm-3 col-xs-6 single_item vid">
<iframe width="100%" height="315" src="https://www.youtube.com/embed/KdbDDVcw7qc?rel=0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<figcaption class="overlay">
</figcaption>
</li>
Has anyone an idea, why this video doesn't work, but all others do?
YouTube forbids embedding some videos in a localhost environment
without a public domain, but your video can be embedded with no issue through a public domain/ sub-domain
try the same using webhosting apps or online html tools.