Archived topic
Feature Request: Responsive Videos
7 replies · Started by Satori on December 15, 2018
Hi! I'd like to make a feature request for the GP theme. Please add native responsiveness for video embeds like YouTube and Vimeo. I'm currently using the native block youtube embed and it shows correctly in the backend but not the frontend; This feature has already been applied to themes like Astra and OceanWP.
Love working with GP and this would be a time saver.
Added in GP 2.2.2.
For now, you can just do this:
add_action( 'after_setup_theme', function() {
add_theme_support( 'responsive-embeds' );
} );
Thanks!
Thank you Tom, works perfectly.
You're welcome :)
Hi Tom,
How to use or where to add this code?
Thanks,
Jericho
Thanks very much, David! :)
You're welcome