• Hi all.

    As the name suggests, YT embedding does not work. It worked for two years and suddenly stopped. I do not know when exactly.
    All the guides I found are about how to embed a video and there is no problem with that because it worked and it also works on another domain with a technically very similar website. (WP+Kadence+Woo+WPRocket+SEOPressPro on the same hosting – Hostinger)

    Could someone please help me find out why this happened?
    Thanks for any ideas.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • I see that a CSP header is set on your website. However, I am unsure whether this is to blame. You can have this checked here, for example: https://domsignal.com/csp-test

    WordPress itself does not set this. It has to be set either by your hosting or by a plugin you are using. You can try deactivating your plugins as a test – a security plugin in particular could be responsible for this. If that doesn’t help, ask your host’s support team.

    Thread Starter Shubol

    (@shubol)

    OMG, thank you so much. Now I remember. I’m the one to blame.
    I completely forgot that I added this to .htaccess according to the instructions and I did not check the functionality of the site

    <IfModule mod_headers.c>
    Header set Cross-Origin-Embedder-Policy "require-corp"
    Header set Cross-Origin-Opener-Policy "same-origin"
    </IfModule>

    But I added it there because I needed to enable the html5 application, which gave the error:

    Error
    The following features required to run Godot projects on the Web are missing:
    Cross Origin Isolation - Check web server configuration (send correct headers)
    SharedArrayBuffer - Check web server configuration (send correct headers)


    So from one problem to another. Either one doesn’t work, or the other doesn’t work.
    Anyway, thank you very much, you helped me a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.