Removing black borders 4:3 on youtube thumbnails

后端 未结 7 742
暗喜
暗喜 2020-12-01 05:20

E.g. I have a link

http://img.youtube.com/vi/aOPGepdbfpo/0.jpg

for a youtube video thumbnail:

7条回答
  •  既然无缘
    2020-12-01 05:32

    To remove the black borders from the Youtube thumbnail we need not have to write a seperate code or CSS. Simply use the ytimg.com site, that stands for YouTube image, which fetches the images from YouTube, like thumbnails and icons as required which come from that domain.

    Example shown below -

    Original Image [With borders]

    http://img.youtube.com/vi/JQ7a_8psCn0/hqdefault.jpg

    With No borders/Strips

    1. http://img.youtube.com/vi/JQ7a_8psCn0/mqdefault.jpg

    OR

    1. http://i.ytimg.com/vi/JQ7a_8psCn0/mqdefault.jpg

提交回复
热议问题