New Topic

Control Video, iFrame and Embed Sizes

Home › Forum › Documentation › Control Video, iFrame and Embed Sizes

This topic contains 0 replies, has 1 voice, and was last updated by  StartupWP 6 years, 5 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #288

    StartupWP
    Keymaster

    Videos are responsive by default which means they will automatically fit to the standard 640px wide content area. This is best probably 90% of the time, but not all videos/embeds look good at that size/quality and perhaps you need more creative control anyways.

    While editing a page or post, simply switch to Text/HTML mode and wrap with:

    <div style="max-width:480px">
    ...VIDEO CODE HERE...
    </div>

    Change 480 to whatever width you need. And if you do not want your embeds to be responsive at all and stay strictly at the size you set, change max-width to width.

Viewing 1 post (of 1 total)

The topic ‘Control Video, iFrame and Embed Sizes’ is closed to new replies.