Hi,
I’ve been using the Cornerstone video element to display YouTube videos and so far it’s worked on every page except one. The thumbnail is there, it’s just when I hit play there is a “Video Unavailable” error. The iframe code looks like all the others except for the URL ofcourse. I understand that this may be a YouTube issue but just wondering if you’ve come across this problem.
Hello @9metis,
Thanks for posting in!
I think this is related to a Youtube video sharing policy. Please make sure that the video is allowed to be embedded in other sites. You might be interested in check out this link:
Hope this helps.
Thanks but the YouTube video is allowed to be embedded on other sites. Any other suggestions as to why it’s unavailable?
Hi @9metis,
I tried to embed your video in my local setup and it seems to be working fine. I added the Classic Embedded Video element and then pasted the following code in the Embed Code field:
<iframe width="560" height="315" src="https://www.youtube.com/embed/HslGnIChf8o" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
It worked for me, you can try doing the same. If it doesn’t work for you then you probably need to have a live environment instead of a staging environment to play the embedded video because YouTube forbids embedding some videos in some environments without a public domain. Let us know how this goes!
Thanks, I reuploaded the video and now that works!
You’re welcome!
It’s good to know that it has worked for you.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.