Embed twitch player in website with hosted stream video

Hey, everyone. We’re working on a page for our website that displays an embedded Twitch player and the goal is to have it update automatically when one of our clients is live. Unfortunately, we can’t figure out how to work with the API well enough to make this happen.
Currently i’m using iframe so how can i achieve my goal using iframe.

`

`

Either use the interactive embed and its set channel method to switch the channel when you detect a client go live, or use the non-interactive embed and update its src yourself. Either way, you’ll need to write some js to check when the clients go live.

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