Skip to:
Content
Pages
Categories
Search
Top
Bottom

Video Embed using Youtube Link is not Responsive


  • InventiveWebDesign
    Participant

    @inventivewebdesign

    I am trying to allow users to embed videos by using links such as Youtube. When I do so the videos appears but is cut off because the box is to small to fit the iframe that is added to the site when wordpress adds the embed code. You can see an example here: http://b67.3d8.myftpupload.com/no-shift/topic/messed-up-divorce/

    I did some searching and found some CSS that doesn’t work either. Basically it adjusts the width but breaks on the height.

    .bbp-reply-content {
        overflow:hidden;
        padding-bottom:56.25% !important;
        position:relative;
        height:0;
    }
    .bbp-reply-content iframe{
        left:0;
        top:0;
        height:100%;
        width:100%;
        position:absolute;
    }

    Is there a way to make the WordPress auto embed code responsive in BBPress?

  • You must be logged in to reply to this topic.
Skip to toolbar