Expand my Community achievements bar.

YouTube embeds Aspect Ratio

Avatar

Level 1

I'm having trouble with YouTube embeds messing up the thumbnails (see below).
Is there any way to fix this without changing the aspect ratio of the thumbnail on YouTube? Why does it need to be 4:3? 

 

Screenshot 2025-02-26 at 4.02.32 PM.png

Screenshot 2025-02-26 at 4.29.48 PM.png

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Community Advisor

Hi

 I hope you are embedding this using the iframe embed code provided by YouTube, If so than you will have option to set explicit Width and Heigh or you can also use CSS properties(e.g object-fit: cover) . Hope this helps

 

Thanks

Dipti