If you use a BootStrap Theme, then you should use the feature of responsive Videos.

Check out the video below

[bootube src=”https://www.youtube.com/embed/DGDejqJQ7sk”]

function bootstrap_youtube( $atts ) {
    $a = shortcode_atts( array(
        'src' => '',
    ), $atts,'bootube' );
	return strlen($atts['src']) ? '<p><div class="embed-responsive embed-responsive-16by9"><iframe class="embed-responsive-item" src="' . $atts['src'] . '"></iframe></div><div style="clear:both;""></div></p>' : '';
}
add_shortcode( 'bootube', 'bootstrap_youtube' );

Now check out the usage

usage.jpg

%d bloggers like this: