So I tried to many times but still not working.
<script type="text/javascript">
var options = {
width: 900,
height: 500,
channel: "fleatra",
parent: ["example"]
};
var player = new Twitch.Player("120", options);
player.setVolume(0.5);
(I typed example because I don't want to share my own domain address)
But It doesn’t works
Can’t debug the issue without seeing the actual domain and/or the actual page that your code is on.
You redacted the key piece of information we need.
Best idea is to post the URL to the broken page
Your code looks correct.
And your website is served over SSL.
So, next step is please link to a page that shows it broken.
player.twitch.tv refused to connect.
I need the page on https://vorpsound.coolpage.biz/ that is broken.
Not a screenshot of it, I needto inspect the console and have a poke about
the website sahinlatifi.glitch.me
is not force served over SSL. SSL is required
So over SSL
and non ssl
So you need for force SSL on sahinlatifi.glitch.me
Some javascript could do it.
The preferred method is to change your hosting configration, either via NGINX/Apache config changes, .htaccess changes for apache only, or whatever is supported by your hosting provider
Okay, i got it thank you <3
system
Closed
February 7, 2021, 5:22pm
12
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.