justintv / Twitch-API

A home for details about our API
www.twitch.tv
1.72k stars 381 forks source link

Responsive embed #673

Closed rafa8626 closed 7 years ago

rafa8626 commented 7 years ago

What is it needed to generate a responsive Interactive Embed Video? Do I need width and height to 100% or something else is required?

rafa8626 commented 7 years ago

Nm, I figured out how: setting the DIV's width and height to 100% makes the trick. Thanks

henrikfiedler commented 6 years ago

Hey, I sadly have the same issue. Would it be possible for you to show me the code and how exactly you fixed? Just in case that we both don't even use the same kind of embed (I don't when this new "advanced" method from twitch came out). Would be really happy about a reply :))

henrikfiedler commented 6 years ago

Okay, I might actually have found the fault I did. I'll try it when I'll be at home in several hours. I'll let you know if I fixed it on my own. (In case you'll actually read my question)