MyBB Community Forums

Full Version: Change YouTube width/height embed?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well, how do I embed youtube videos in 16:4 ratio? (or something like that? simply HD)

When I go to this video button, then select youtube and paste the youtube link.
It will go with 560 width and 315 height.

I want it instead to become 640 in width and 360 in height. And do this by default!
Go to your theme template set > Video MyCode Templates > video_youtube_embed and change
<iframe width="560" height="315" src="{$id}" frameborder="0" allowfullscreen></iframe>
<iframe width="640" height="360" src="{$id}" frameborder="0" allowfullscreen></iframe>