I am trying to host people on my twitch channel and have it show on my website. ( With their permission)
I got the embed to work, but even though I am hosting that channel, my embed on my website still shows that I am offline. Is there a way I can use this so that I can host people on the embed without having to change the coding.
What I would like to do. Go to my website, type in the embedded chat that is on my website
“/host blablabla”
Then show that streamer on my website through a host. Any ideas?
In this code the array $channels = array("") can be a comma delimited list of streamers… Then it will find the most popular one of them and embed that stream. As a backup you can set it to play the most popular DayZ stream on twitch if none of your selected channels are available.