For some reason, when I publish a blog post which has an embedded YouTube video, the video doesn’t show on the live page. It does show though in the Designer perfectly.
The below is a read-only link to the landing page where I have embedded the YouTube video.
Hey @NiamhCharisMe could you publish the blog post to the preview-Domain please? It’s hard to debug currently, because it’s working in the Designer-Preview.
First thing I noticed is, that you are using a cookie consent tool (which is great), but it might be blocking YouTube.
At the same time, the console does not give an error and scripts from YouTube are loaded.
Sometimes the video also appears, but rarely.
Could you try to change the embed link? Try using this one please: YouTube
If that does not work, can you try to deactivate the cookie consent tool?Just to make sure that this is not the cause of the problem, because this is the only difference between the designer and the published website.
Webflow uses a 3rd party system called Embedly to prepare and deliver video elements. Occasionally ( rarely ) it goes down or has issues, which could be the problem, but that would likely affect everyone.
Embedly has a processing step that occurs when you add the video. When you add it through the designer CMS screen, you see a delay while the URL is checked, before the video element appears.
If you’re adding these videos from within the designer, then typically Embedly should do its thing and prepare the video properly for playback. However if you’re publishing them through the API from a separate source like AirTable, Embedly often doesn’t get triggered and your YouTube videos aren’t “ready”.
I’m just using the native embed feature in Webflow, which sounds like it’s Embedly which you describe. So, not using an API solution at all. Just the below solution as shown in the screenshot:
After embedding the video in the designer CMS screen, the video shows perfectly in the designer screen. Only in the live published version of the blog post does the embedded YouTube video not show.
Re-publishing the video a few times doesn’t seem to have fixed it. I’ll leave the video off the page for the moment. It looks like a consistent bug in Webflow.
I removed temporarily the cookie consent tool from our staging website, to see if this was the issue with YouTube videos being displayed on our blog. But this doesn’t seem to fix the issue: Coping Strategies - How to Deal with Anxiety
I think it’s due to a limitation with our cookie consent platform, where I need to upgrade to a higher plan in order for YouTube videos to be able to shown on our pages.
Hi Niamh, I don’t think that’s the problem.
It’s unlikely that would cause the contents of the iframe to be empty, and even when consent is accepted and the page is refreshed the video is still not appearing.
I still suspect embedly.
I’d remove the video and re-add it, and make sure you see the indicator that the video has been successfully linked.
Failing that, I’d try replacing it with an HTML embed