Hello guys
i do execute
var options = {
width: '100%',
height: '300px',
control: true,
video: "v394893686"
};
var player = new Twitch.Player(blockID, options);
player.setVolume(0);
And finally got following link into the iframe:
https://player.twitch.tv/?allowfullscreen&control&channel=null&video=v394893686&origin=http%3A%2F%2Flocalhost%3A3000
All works correct, but at the same time i got an error:
Invalid operation: t.channel is not implemented
Does anyone know how to fix this?
Your code works fine
the t.channel is a bug in the player logic and nothing to do with your code and is safe to ignore. The player JS can and will throw a couple of weird oddities this is one of them.
1 Like
system
Closed
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.