How do I get full width YouTube videos?

Question: How do I get my YouTube video to be wide width or full width?

Answer: You need to add theme support for responsive embeds in your theme’s functions.php file.

add_theme_support( 'responsive-embeds');

This functionality is not yet part of the theme.json file.


Block Editor Handbook: Theme Support

WordPress version: 5.7.2

Gutenberg version: 10.8.0

© Copyright Herb Miller, Bobbing Wide 2021