I’m creating a Twitch.tv app and what it basically does is allow you search for your favorite streamers, find out there info(live, followers, etc) then add them to your list of favorite streamers. In the users dashboard has all of the users saved streamers and each one has a button that you can click on to open up a bootstrap modal with an embedded twitch.tv stream. Right now I’m looking at the documentation for embedding live streams into websites and I believe this to be possible. I basically want to write a function that will pass whatever streamer’s button was clicked to open up the embedded twitch stream.
I have an ajax call that receives the first 10 users within the search and is able to grab all their Twitch ID’s like so: