[Resolved] Responsive Video Code Snippet

Home Forums Support [Resolved] Responsive Video Code Snippet

Home Forums Support Responsive Video Code Snippet

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #824074
    Kevin Wabiszewski

    Hello, I found another support topic for responsive video.

    I have added the following code with the code snippets plugin, but my videos still don’t seem to be responsive.

    add_action( ‘after_setup_theme’, function() {
    add_theme_support( ‘responsive-embeds’ );
    } );

    Any advice?

    #824085
    Leo
    Staff
    Customer Support

    Hi there,

    That has actually been added into the theme so if you are using the latest version, you shouldn’t need to add the code.

    The code is actually for Gutenberg’s embed blocks as well.

    Looks like you are currently using Elementor to insert the video, if that’s the one you are referring to then you will need to check with their support.

    Let me know if this helps ๐Ÿ™‚

    #824091
    Kevin Wabiszewski

    Thanks Leo!

    #824723
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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