Refused to frame ‘https://embed.twitch.tv/’ because an ancestor violates the following Content Security Policy directive: “frame-ancestors mydomain.com”

Known:

I create custom HTML in my wordpress page :

<iframe src="https://player.twitch.tv/?channel=beyondthesummit&parent=a2fahmi.com" frameborder="0"  allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>

The Problem:

When i access above page then this error displayed:

Refused to frame ‘https://embed.twitch.tv/’ because an ancestor violates the following Content Security Policy directive: “frame-ancestors mydomain.com”

What Causing this problem:

This problem cause from not SSL domain

How to Solve :

Just install SSL and Force the domain to use it

Leave a Reply

Your email address will not be published. Required fields are marked *