Embed/Call Most Popular User in <Div>


#1

Hey everyone,

I’m looking to modify my website’s streaming page to call up one channel to a “featured” box on the top of the page (my site), being the most popular live streamer of a list.

I will add a simple masonry style layout for all streams under the featured stream. I’ve seen how this works in part here:

http://twitch.apiexampl.es/test.php.txt

I need this to work in HTML5

A very similar format for what I’m looking to do can be found here.

It could be simple enough, if the new format for auto-hosting other pages worked through the default embed. That’s pretty much the feel that I would love to have, if possible.

Anyone know a way to do this?


#2

What do you mean by “I need this to work in HTML5”? If you’re using our embed, you’re using the HTML5 player already.

The best way to do this would be to make REST calls to the streams API to determine the most popular live streamer and load a new Twitch player inside the featured box.


#3

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