By Matt Smela on Thursday, 29 March 2018
Posted in Technical Issues
Likes 0
Views 704
Votes 0
Hello,

I've noticed that Twitch is embedding in a shrunken way. We'd adjusted the code to prevent autoplay, like so:


$output = '<iframe src="https://player.twitch.tv/?' . $channelName . '&autoplay=false&muted=true' . ' width="853" height="480" frameborder="0" allowfullscreen></iframe>';


But for some reason it's embedding like this in posts:

https://i.gyazo.com/f068118626434ac937d35f3e2fb90216.png

That doesn't seem right (and on inspect it appears to be setting the window to have a width of 300px), so what needs to be adjusted to have it match the width of the post?
If that is video link, i would suggest you that add this video link into video section from the story panel, so system will automatically make it full width, you can check my attached screenshot below.

If you share this video link as link type, then it will retrieve those video default iframe width and height into the stream.
·
Thursday, 29 March 2018 10:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh I see! Thank you for the clarification!
·
Thursday, 29 March 2018 11:17
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding
·
Thursday, 29 March 2018 11:33
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post