JavaScript for WordPress Forums Bugs & Issues Theming With Gutenberg: Embed Example

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #111317
    Zach Atkinson
    Participant

    Just wanted to point out the advice to resize the videos is outdated. You can add theme support as follows to make embed behave responsively automatically:

    add_theme_support( 'responsive-embeds' );

    Hope this helps update the course!

    #111318
    Zac Gordon
    Keymaster

    Thanks Zach! Will add a link to this in the course and am planning to come back and update these as well 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.