Non-Interactive Embedded Iframe Parent issue

I am fully aware of the changes in June that require the &parent part of the iframe e.g.
<iframe src="https://player.twitch.tv/?channel=xxxxxx&parent=example.org" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe>

My question is if you have a page called example.com/twitch that has the embedded viewer is it possible to give people a direct link to the example.com/twitch page? On phone browsers the embedded viewer is getting blocked for content security protection when doing this. On the phone its possible to go to example.com -> hit button that goes to example.com/twitch and the page with viewer displays.

Any help appreciated.

Yes you can direct link to a page.

I’m not sure what the issue is that you are having.

But you can go to “my homepage” then go to “another page on my website” and the embed will work

Since the parent is jsut a list of domains (including sub domain) (never contains path so you parent is www.example.com not www.example.com/twitch

Sounds like you may need to include both the www. and non www. versions in your parent

So

https://player.twitch.tv/?channel=xxxxxx&parent=example.org&parent=www.example.org

To use your example

As you might be landing on example.org then going to www.example.org/twitch

I can do a direct link within the site but if I open a new browser window and just type example.com/twitch it blocks. In this case there is no parent since its just a blank browser window. Btw this does work on a PC browser, just not Android chrome or Android firefox

There parent would be example.com in that example

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.