Video Media resizing in Port theme post

  • I am using the Port theme with the main content width set at 1000px. If I use the Video block in a post to embed a 1920x808px video from my media library, Rather than scaling the video to 100% of the width and a proportional height (420px) I get an iframe of 680W x 286H. If I customize the CSS as below the height set to 100% or auto seems to do nothing. Setting the min-height solves the issue in this instance but is not always going to be appropriate for every piece of content placed in an iframe.

    (Unfortunately our site is private)

    iframe {
        width: 100%;
        min-height: 480px;
        height: 100% !important;
    }

    The blog I need help with is: (visible only to logged in users)

  • Hi @valkilmore, would you be willing to test entering the video shortcode using a classic block to see whether that makes any difference?

  • The topic ‘Video Media resizing in Port theme post’ is closed to new replies.