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?
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 )
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.
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...
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.
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:
It does not fix the issue though. How can we make the video responsive?
Thanks,
Streamliners
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
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
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
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
Hi,
I can't know.. So, you need to check with each plugin you're using.
Best Regards,
PenciDesign