Twitch iFrame API embedding parent issue

I’ve been trying out the Twitch iFrame API and while it has an amazing API module, its feature of monitoring the parent is causing me some issues.

Im trying to embed Twitch iFrame in a GTA modding platform i.e FiveM NUI resource which has a chromium based interface which lets the developers use all the basic web developement kit. The issue Im running into is that I can’t assign a parent for the Twitch API since the iFrame is not served over internet, instead the html file is executed locally on client with the file URL reffered as nui://<resource name>/file.html so there’s no possible way to specify a parent. So I wanted to ask if there’s any other solution to overcome this issue and embed the iFrames.

nui is not accepted as a valid parent.

Only

2 posts were merged into an existing topic: The great big “I’m using WIX/SomeWebsiteMaking Tool and I don’t know how to fix my embed” thread

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