I’m trying to bring up an extension that uses BabylonJS to display a 3D model (that I supply in the asset folder), but I can’t figure out why it dosen’t works in Hosted test while working perfectly fine within the Developer’s Rig. Moreover, it doesn’t even show up for viewers.
An extension’s iframe must import the Extension Helper JavaScript file, created and hosted by Twitch. It provides methods for dealing with authentication, receiving notifications of stream properties, and listening to PubSub events. Each HTML defined in the Asset Hosting section of your extension (Viewer, Config, Live Config) must load the Extension Helper. To do so, include this line: