Trying to embed Twitch video but error occurs
This is the code I am currently using on the html file:
```html
<div class="twitch-frame"><iframe src="https://player.twitch.tv/?channel=untitledgamestudios&parent=www.ugs.pt" frameborder="0" allowfullscreen="true" scrolling="no" height="378" width="620"></iframe></div>
...
I get an error that says: "player.twitch.tv is blockedplayer.twitch.tv refused to connect.ERR_BLOCKED_B.
I've tried using [localhost], the IP address of the build, url.com and nothing makes it work. When inspecting on firefox I get the error in the image and when I click on open on a new window it displays the right thing. Why won't it just show on the iframe?
I've searched the error and many MANY tutorials online, including the twitch documentation and I cannot figure it out. Can anyone shed a light on this for me?
7 Replies
Twitch disabled it for firefox. (And possibly other browsers)
I think twitch has it's own embed stuff you can use if I remember corrrectly.
You also need a valid ssl. Idk if you have that.
Really?? damn....
the code I'm using is directly from twitch
I do not didn't see it anywhere
I think that is why.
The final website will be use ssl once online but how can I get around this during dev ?
depends
that's a question for #back-end