# Embedding Issues

**URL:** <https://discuss.dev.twitch.com/t/embedding-issues/21658>\
**Category:** API\
**Created:** [June 28, 2019, 4:22pm UTC](https://discuss.dev.twitch.com/t/embedding-issues/21658 "2019-06-28T16:22:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jybir](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jybir](https://discuss.dev.twitch.com/u/jybir)\
**Post date:** [June 28, 2019, 4:22pm UTC](https://discuss.dev.twitch.com/t/embedding-issues/21658/1 "2019-06-28T16:22:48Z")

</div>

we have implemented a basic iframe embed on our site with the following code:

```
<iframe src="https://player.twitch.tv/?autoplay=false&video=#####" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="100%"></iframe>

```

the console is throwing an error: Invalid operation: t.channel is not implemented

this is causing the code execution to stop at that point. what needs to be done to resolve this issue as we cannot find any documentation related to stopping the error.

thanks in advance

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [June 28, 2019, 4:24pm UTC](https://discuss.dev.twitch.com/t/embedding-issues/21658/2 "2019-06-28T16:24:29Z")

</div>

> [@jybir](#):
>
> ${match[1]}

That’s not a videoID

---

<div class="post-metadata">

**Author:** ![jybir](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jybir](https://discuss.dev.twitch.com/u/jybir)\
**Post date:** [June 28, 2019, 4:25pm UTC](https://discuss.dev.twitch.com/t/embedding-issues/21658/3 "2019-06-28T16:25:57Z")

</div>

it inserts the code properly through regex. i’ve updated the code to be ####, you can replace it with whatever id you wish

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [June 28, 2019, 4:26pm UTC](https://discuss.dev.twitch.com/t/embedding-issues/21658/4 "2019-06-28T16:26:12Z")

</div>

What VideoID are you trying?

---

<div class="post-metadata">

**Author:** ![jybir](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jybir](https://discuss.dev.twitch.com/u/jybir)\
**Post date:** [June 28, 2019, 4:27pm UTC](https://discuss.dev.twitch.com/t/embedding-issues/21658/5 "2019-06-28T16:27:18Z")

</div>

we’re using a random id from the site. right now we’re using 442305299 as a test case

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [June 28, 2019, 4:29pm UTC](https://discuss.dev.twitch.com/t/embedding-issues/21658/6 "2019-06-28T16:29:07Z")

</div>

I see the same error however the player embeds and plays correctly

 ![image](https://d2opxh93rbxzdn.cloudfront.net/original/2X/6/6e4f45e6030be1ac6a2267100feb0463d627e495.jpeg)

Errors such as `t.channel is not implemented` are usually safe to ignore as you can’t fix it.

Example:

[https://twitch.extensions.barrycarlyon.co.uk/temp/index\_21658.html](https://twitch.extensions.barrycarlyon.co.uk/temp/index_21658.html)

Plays fine for me.

---

<div class="post-metadata">

**Author:** ![jybir](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jybir](https://discuss.dev.twitch.com/u/jybir)\
**Post date:** [June 28, 2019, 4:29pm UTC](https://discuss.dev.twitch.com/t/embedding-issues/21658/7 "2019-06-28T16:29:55Z")

</div>

the video plays fine for us as well. the problem is when the console throws that error, the code that comes after it fails to execute due to the error. is there no way at all to get that error removed?

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [June 28, 2019, 4:30pm UTC](https://discuss.dev.twitch.com/t/embedding-issues/21658/8 "2019-06-28T16:30:41Z")

</div>

This error should not prevent your code from running as it’s isolated to the sandbox of the iframe.

---

<div class="post-metadata">

**Author:** ![jybir](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jybir](https://discuss.dev.twitch.com/u/jybir)\
**Post date:** [June 28, 2019, 4:30pm UTC](https://discuss.dev.twitch.com/t/embedding-issues/21658/9 "2019-06-28T16:30:59Z")

</div>

fair enough. we’ll look a little closer

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [July 28, 2019, 4:31pm UTC](https://discuss.dev.twitch.com/t/embedding-issues/21658/10 "2019-07-28T16:31:00Z")

</div>

Closed on July 28, 2019, 4:31pm UTC

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