I am trying to use the twitch embed iframe on my website. It worked on localhost but when I put the website online and after changing the parent parameter to my website domain I get following error: Refused to frame ‘https://player.twitch.tv/’ because an ancestor violates the following Content Security Policy directive: “frame-ancestors https://projectpui.ddns.net”.
My iframe in the html looks like this:
My website URL is: https://projectpui.ddns.net:35353/project-pui-1.0/pages/index.xhtml
If I open the Twitch in my browser by itself it works.
I use a no-ip free dynamic dns.
Thank you guys for the help in advance!