Skip to content
Advertisement

Tag: twitch

Hide Twitch iFrame If Channel Not Live

We have a site embedding Twitch streams. They have events for a channel going offline. So when a stream is live, then it goes offline, I can essentially then hide the iframe. However, I’m wanting to have it so if when the page is loaded, and the channel is already offline, the iframe doesn’t show. Any ideas and thoughts much

Advertisement