Video Player Not Working On Live Site

Hi,

I have two pages with embedded videos, none of which are playing on the front end, but are fine in Cornerstone.

This is for a new website which has just gone live. On the build/staging site, the videos work fine, but on the live site none will play and show in the player as 0:00 minutes long. The settings between staging and live are identical. I need to try and resolve this as soon as possible, as there is due to be a big launch this weekend and there videos are key.

More details in the Secure Note.

Thanks,
Christopher

Hello @whitemedia,

Thanks for writing in!

Please be advised that you cannot use Youtube video links in the Video element. You need to use the Youtube embedded code like this:
<iframe width="560" height="315" src="https://www.youtube.com/embed/spc_6h980LM?si=o4fCkhmfgs9deQeC" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

Youtube ask for a permission to save cookies in the browser. That is why, it is best to use the embedded code provided by Youtube:

Hope this helps.