Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2566531
YouTube Responsive Embed not working
Closed

Comments

  • Streamliners started the conversation

    Hello Penci Team,

    How can I embed a YouTube video in a blog post with the Gutenberg editor in a responsive fashion? As per the link below, the video is showing up in small format and is not responsive at all.

    In other forums it was recommended to use the following in the functions.php:

    add_theme_support( 'responsive-embeds' );

    It does not fix the issue though. How can we make the video responsive?

    Thanks,

    Streamliners

  •  2,699
    PenciDesign replied

    Hi,

    The theme already supports for responsive youtube videos.

    Please check the points below:

    1/ Make sure you're using latest version of Soledad - version 7.4.0

    If not, let's update the theme to latest version 7.4.0 by remove the code at the end of functions.php file like on this image: http://prntscr.com/uon4qx ( if you don't see it, you can ignore this step ) 

    After that, do following this guide to get auto-updates the theme: https://pencidesign.ticksy.com/article/15633/

    2/ After updated the theme, clear all the cache and check it again.

    If it still doesn't work, please try to deactivate all plugins ( except plugins come from the theme ) and try it again. If it works, let's enable each plugin to check what's plugin caused this issue. 

    Best Regards, 

    PenciDesign

  • Streamliners replied

    Hi,

    We are using the latest, 7.4.0 version, cache is cleared and checked - the issue is persistent. It is hard to imagine another plugin is causing this issue...

    Kind regards,

    Streamliners

  •  2,699
    PenciDesign replied

    Hi,

    Yeah, as I checked, it seems you have a plugin caused this issue. It auto replace the embed code from WordPress itself and appears another video type doesn't responsive. Let's check with your plugins first, because we don't get this issue from our-end.


    Best Regards,

    PenciDesign

  • Streamliners replied

    Hi,

    Is there any way to tell which plugin causes the issue without going through switching off all of them first and switching them on one by one?

    Thanks,

    Streamliners

  •  2,699
    PenciDesign replied

    Hi,

    I can't know.. So, you need to check with each plugin you're using.


    Best Regards,

    PenciDesign