Videos on twitch are a fixed aspect ratio, 16:9. The streams endpoint gives you the height of the video ie. 720 which you can then use to infer the width of the window you’re trying to open.
16/9 * 720 = 1280
Videos on twitch are a fixed aspect ratio, 16:9. The streams endpoint gives you the height of the video ie. 720 which you can then use to infer the width of the window you’re trying to open.
16/9 * 720 = 1280