Embed archive if not live?


I am able to dynamically embed a live stream based solely on a username and polling. My question is, once that stream has gone offline, is there a way to show the archive (if enabled by the twitcher)? When I grab the user info to determine live status, there is no discernable video id returned, so I don’t see any way to do it. Am I just looking in the wrong place? Or is there a way that the iframe embed can just automatically load an archive (ie a url parameter) if it’s not a live stream? It seems to detect that it’s not live and changes the background image of the embed, so maybe this is possible?

Thank you

Check the channel videos API.

1 Like

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