Support » Plugin: YouTube Channel » Set YouTube video size – solution

  • I found a number of questions about trying to set the size of a video, but no successful answer. The video always fills the available space.

    Here’s a workaround: using the WordPress editor “Text” mode, wrap the video iframe in a div, like this:

    <div style=”width: 280px; float: left; margin-right: 20px; margin-top: 25px; margin-bottom: 20px;”><iframe src=”; width=”280″ height=”158″ frameborder=”0″ data-mce-fragment=”1″><span data-mce-type=”bookmark” style=”display: inline-block; width: 0px; overflow: hidden; line-height: 0;” class=”mce_SELRES_start”></span></iframe></div>

    That’s a “constrained space” for it to fill!

  • The topic ‘Set YouTube video size – solution’ is closed to new replies.