Reusable Twitch iframe with black screen after one source fails to play

I have an player/iframe instance, which I use like:

twitch_video_player.setChannel("somechannel")

Immediately I do:

twitch_video_player.play()

I do this several times, with different sources.

It works. Until a stream with a playback error is used.

Error looks like:
chrome_2018-08-03_02-34-21

After that, all subsequent loads (with any source) will end up with a black screen. There is sound, but no video. It actually shows the first snapshot/frame of the video as soon as it loads it, but after that it’s just black.

Let me know if you need more information.

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