Refused to frame ‘https://player.twitch.tv/’ because an ancestor violates the following Content Security Policy directive: “frame-ancestors”
When I post a Twitch link on my site, it tries to embed it using the parent=meta.tag instead of parent=greasygamer.com
I just installed a php script for the site, Sngine. It worked fine on xenforo which is still currently greasygamer.com/. The Sngine install is at greasygamer.com/sngine for now, but will be moving it to the main URL once this twitch thing is figured out.
So Sngine simply save this HTML code returned and then display it, So there is no way to do so unless you add some code to check if it’s twitch or not and then add some code to do whatever you want,
Looking at at the screenshot, the function is called scraper. This suggests that it’s scraping the Twitch page for the Embed code. And is not replacing “meta.tag” with the correct parent.
sngine needs to generate an embed as documented, not via whatever the hell they are doing.