jybir
1
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
jybir
3
it inserts the code properly through regex. i’ve updated the code to be ####, you can replace it with whatever id you wish
What VideoID are you trying?
jybir
5
we’re using a random id from the site. right now we’re using 442305299 as a test case
I see the same error however the player embeds and plays correctly
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
Plays fine for me.
jybir
7
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?
This error should not prevent your code from running as it’s isolated to the sandbox of the iframe.
jybir
9
fair enough. we’ll look a little closer
system
Closed
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.