#7TV Emotes in Twitch embed on website

1 messages · Page 1 of 1 (latest)

granite mason
#

Hello,
I am currently trying to embed Twitch on my website and I was wondering if it is possible to still make 7TV emotes work?

I would really appreciate a short response.
Have a great day.
Best regards,
Noss

junior dock
granite mason
junior dock
#

sure

charred grove
#

ayyybuBuhh i dont think thats possible

junior dock
#

@granite mason I don't think this is currently possible due to the fact that the extension works on specific websites:

granite mason
#

I see and being embeded inside an iframe does not count, right? The src of the iframe at least would work with the sites: "https://embed.twitch.tv?channel=channelName...." peepoSadDank

junior dock
#

it would be technically possible if the extension checked every website but that would be questionable

#

I'll ask the devs to have a look at it, I know that there are plans to change a lot on the extension which could potentially change it but for now there would have to be some workaround on your side

latent hound
#

So yea it won't work currently

#

Or you can just use an external chat as an embed

#

and just embed the player there

#

pretty simple

#

make a containter that would contain the twitch player and a specific chat overlay/website that would include 7TV emotes and all

#

try this

#

you won't be able to chat sadly

#

but you can find other ones that allow you

granite mason
#

Thanks a lot for the help. Being able to chat, send emotes etc would be important.

I just did a quick google search and found:
https://stackoverflow.com/questions/8917593/do-chrome-extensions-access-iframes
Maybe something that could help in future updates? Or maybe even just being able to call some kind of api from inside the website to the 7tv extension to register the current side for the extension would already do the job.

I will try and see if there is something I can do to work around the problem. 🙂

latent hound
latent hound
#

Pretty bad practice

junior dock
#

we have no business accessing sites other than kick/twitch/youtube

#

and the embed stream is inside the website on a different domain so the extension doesn't have access

granite mason
#

Yeah I understand that. Makes total sense. ^^

#

I will see what I can find. Thanks a lot for the help and insides peepoGivelove

latent hound
granite mason
latent hound
#

Make your own chat OOOO