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.