The block editor supports a long and growing list of embeds from other sources. By enabling responsive embeds, the theme will attempt to make those embeds responsive.
- [Instructor] The Block Editor offers support…for an expansive list of embed sources…like YouTube and Twitter and other WordPress sites.…In the theme Unit Test Data,…there's a post named Block category: Embeds…showcasing some of these embeds combined…with features like wide and full layouts.…If we click each of these embeds,…you'll see here we have a Twitter embed…that's set to the Wide Width,…we have a YouTube embed that's just set to Regular Width,…we have a Facebook embed…that's also set to Regular Width,…we have a WordPress embed set to Regular Width…and down at the bottom,…we have a WordPress TV embed…which once I select it, you'll see is set to Full Width.…
Now these embeds look pretty nice inside the editor…but if I update this post,…and I'll view it on the front end,…you'll see just like we've seen previously…that things don't look exactly right on the front end…because there's some styling missing…and in this case also some features missing.…The most noticeable thing about these embeds…is they don't take up the available space given to them.…
Released
1/22/2019- Declaring support for default block styles
- Adding support and styles for wide alignment
- Supporting theme-specific colors and fonts
- Extending block styles
- Adding new style variations
Share this video
Embed this video
Video: Add support for responsive embeds