# Twitch video player

**URL:** <https://staging-discuss.dev.twitch.com/t/twitch-video-player/20571>\
**Category:** API\
**Created:** [March 18, 2019, 5:53am UTC](https://staging-discuss.dev.twitch.com/t/twitch-video-player/20571 "2019-03-18T05:53:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![donivtwitch](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/donivtwitch/32/5988_2.png) [@donivtwitch](https://staging-discuss.dev.twitch.com/u/donivtwitch)\
**Post date:** [March 18, 2019, 5:53am UTC](https://staging-discuss.dev.twitch.com/t/twitch-video-player/20571/1 "2019-03-18T05:53:46Z")

</div>

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&amp;control&amp;channel=null&amp;video=v394893686&amp;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?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [March 18, 2019, 10:41am UTC](https://staging-discuss.dev.twitch.com/t/twitch-video-player/20571/2 "2019-03-18T10:41:40Z")

</div>

![image](https://d2spem0quai2ol.cloudfront.net/original/2X/2/25da07d82ee6858b7e4c9e83fb4540e76d815303.jpeg)

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.

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [April 17, 2019, 10:41am UTC](https://staging-discuss.dev.twitch.com/t/twitch-video-player/20571/3 "2019-04-17T10:41:42Z")

</div>

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