Embed problem on personal website with v1.js

Hello, i just copied-pasted the code to get twitch player on my website. But I still have this error :

Allow attribute will take precedence over 'allowfullscreen'.

R @ v1.js:21
t.buildIframe @ v1.js:21
t.render @ v1.js:21
t @ v1.js:21
t @ v1.js:21
(anonymous) @ (index):17

It is linked to this line :

var player = new Twitch.Player(“test”, options);

You can see it on http://anto.tv/

Can you help me to fix it please ? :slight_smile:

You need to use HTTPS, your link is HTTP. It works fine if you use https://

Nice ! That works like this. Thank you ! :smiley:

But How do i force people and their browser to ask in HTTPS naturally ?

And what Can i do for the chatbox?

There are numerous ways, most people force it at the HTTP server configuration level

Refer to the documentation

Which covers the various types of embed’s and how to use them

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