Skip to content
Discussion options

You must be logged in to vote

For anyone else that comes across this, I found a tool that lets you check the security headers on any website:

https://www.serpworx.com/check-security-headers/

And it turns out the Gatsby site (vs. the Netlify site) didn't actually have any security headers set at all. I know it's not ideal, but I replicated this behaviour and it fixed the problem on my Netlify site.

So ultimately I think Google is requiring specific headers to be set to embed YouTube videos, but I can't find any documentation of what those headers might be.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by modulareverything
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant