How to get the youtube video image thumbnails

1074

Youtube providing 3 different size of images by using below url we can get the images before getting the images we have to take the youtube video id from youtube url. Please go through below steps then you can get the good idea.

1) Getting youtube vidoe id: From below url ‘m68dJEvn5dE‘ is the video id.

‘https://www.youtube.com/watch?v=m68dJEvn5dE’

2) Youtube provide 3 different size images like small,medium,large.

3)using below url we get the thumbnails need to replace VIDEOID-ID with your videoid(m68dJEvn5dE)

http://img.youtube.com/vi/VIDEOID-ID/mqdefault.jpg

4) Assume that my video id is ‘m68dJEvn5dE‘ so using this how i am getting check below

  1. Small custom thumbnail [320×180] : http://img.youtube.com/vi/m68dJEvn5dE/mqdefault.jpg
  2. Medium custom thumbnail at 4:3 ratio [480×360] :http://img.youtube.com/vi/m68dJEvn5dE/0.jpg
  3. Large custom thumbnail [1280×720 or 1920×1080]: http://img.youtube.com/vi/m68dJEvn5dE/maxresdefault.jpg

 

Now image are like below

LEAVE A REPLY

Please enter your comment!
Please enter your name here

*