Okay
  Public Ticket #1208186
YouTube's OG:Image cover is not stretching the whole element(Cropped)
Closed

Comments

  • simonttz started the conversation

    Hi guys,

    Thanks for creating a great plugin with great support..

    As the title says, the cover photo that shows before the YouTube embed loads is the open graph image, that's great and all, but it's not stretching, 

    please have a look at my site, it's on slide #2:


    Here's a screenshot for further detail:

    http://prntscr.com/fk8lsd


    any idea how i can make this image just show 100% width and height like the video?

  • simonttz replied

    how can i accomplish this? I need to know before the weekend starts!!


    thank you

  • [deleted] replied

    Hey simonttz,

    The problem is that the video player was set up using a different aspect ratio than the video itself that it plays.

    Regarding video preview images, we are using the 'cover' method, which means that the images will always cover the whole canvas of the video player, even if it means cropping or enlarging them, avoiding black the areas on the sides.