- This topic has 4 replies, 2 voices, and was last updated 1 year, 11 months ago by .
- You must be logged in to reply to this topic.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I've noticed when I embed a video into my posts, when seeing the post on mobile the video thumbnail is much too large and cut off. When the video is played, it's fully visible and not cut off so this is not an issue, but I'd like the video thumbnail to be fully displayed and not cut off as well.
I've left a url to an article. Take a look with a smart phone and you'll see what I mean when you scroll down just a few paragraphs to the embedded video.
You could use a different background image for your video thumbnail overlay on mobile or upload a custom image to YouTube which displays the way you want on both mobile and desktop.
The thumbnail already is a custom image. On mobile it shows too wide for the screen so it cuts it off. That's the whole point of the question, I'd like to figure out why the thumbnail isn't responsive on mobile and gets cut off and if there's a way to get it to be sized correctly for mobile.
Any help? Anyone?
These are the steps I used to fix the issue:
1 - add this code to the bottom of my child theme's function.php file:
add_theme_support( 'responsive-embeds' );
2 - add a container block to the page/post
3 - inside container block I added youtube block and then added my video URL
4 - make sure to clear all caching
© 2023 WPEngine, Inc.