First of all, sorry if this has been asked before, I tried searching the forums and online but couldn’t find the solution.
I’m trying to use the simple Hello World extension (https://github.com/twitchdev/extensions-hello-world) and it works fine in the developer rig, however, the extension is tiny. I would like to develop the extension locally in my browser outside of the twitch developer rig. When I try to access video_component.html locally, twitch.ext.onAuthorized() never gets called. (The “Yes, I would” button never gets enabled.)
How do I test the video_component.html locally in the browser outside of the twitch developer rig? Do I need to configure twitch.ext manually, or call onAuthorize somehow?
I was considering passing in a debug flag to the url (ie. video_component.html?debug=true) where if it is present, configure twitch manually. Is this how you do it? And if so, how do I configure twitch? Or is it something else entirely?
Any help would be appreciated, thanks.