Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    Have you tried inserting only the YouTube URL without the shortcode, unlinked? The oEmbed support is core WordPress does a pretty good job of making the videos responsive.

    Cheers!

    Thread Starter robkhoo

    (@robkhoo)

    I thought so but check out the link below where I am having the issue.
    It isn’t resizing with the site.

    https://nagoya-info.com/5888/japans-reinterpretation-of-the-constitution/

    Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    With the oEmbed, looking at Twenty Fourteen, core handles it through ensuring embeds fit within their containers via CSS:

    /* Make sure embeds and iframes fit their containers */
    
    embed,
    iframe,
    object,
    video {
    	margin-bottom: 24px;
    	max-width: 100%;
    }
    
    p > embed,
    p > iframe,
    p > object,
    span > embed,
    span > iframe,
    span > object {
    	margin-bottom: 0;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fluid Video embed possible?’ is closed to new replies.