• Having a very strange and intermittent issue with using the YouTube embed block on my website, which uses the Twenty Twenty theme. Sometimes the embed works, and sometimes it doesn’t.

    Here’s a page where the YouTube embed is not working: https://thepalmermethod.com/why-i-dont-use-fountain-pens/

    And here’s a page where it is working: https://thepalmermethod.com/casual-writing-and-why-i-keep-a-journal/

    Here’s a screenshot of the issue: https://snipboard.io/zn2eNU.jpg

    Things I’ve tried so far:

    1. Deactivate all plugins & cleared all caches -> NO CHANGE
    2. Remove all custom CSS from the Customize settings & clear caches -> NO CHANGE (I haven’t customized any of the theme files)
    3. View the page in an incognito tab with Ad blocker turned off – NO CHANGE
    4. Change themes to Twenty Nineteen – ISSUE RESOLVES

    So something is going on with the Twenty Twenty theme and YouTube embeds. Weird because there are no javascript errors in the console and it’s not happening for all of my YouTube embeds. When I edit the page, the embed shows up just fine in the block editor. I should also note that sometimes the video will embed, then I’ll come back to the page a few days later and the embed is broken.

    Any ideas on how to debug this are appreciated.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter davedg629

    (@davedg629)

    I just tried pasting in the embed code that YouTube provides into the block editor. When I did this, it automatically created an “Embed URL” block and now the embed is working on the front end.

    Still doesn’t solve the issue with the YouTube Embed block. Hoping to find an answer to that as I think it has something to do with the Twenty Twenty theme.

Viewing 1 replies (of 1 total)
  • The topic ‘Issue with YouTube embeds’ is closed to new replies.