. Rising Code Challenges Skip to main content

Posts

Showing posts from April, 2018

How to get thumbnails of youtube videos?

You can try for different types of YouTube videos thumbnails by using these urls - For the default & normal quality thumbnail: http : //img.youtube.com/vi/<youtube-video-id>/default.jpg For the high quality (HQ) thumbnail: http : //img.youtube.com/vi/<youtube-video-id>/hqdefault.jpg There is also a medium quality thumbnail: http : //img.youtube.com/vi/<youtube-video-id>/mqdefault.jpg For the maximum resolution thumbnail: http : //img.youtube.com/vi/<youtube-video-id>/maxresdefault.jpg For eg . YouTube link - http : //www.youtube.com/watch?v=4EvNxWhskf8 YouTube video id - 4EvNxWhskf8 So that - <img src = "http://img.youtube.com/vi/4EvNxWhskf8/hqdefault.jpg" title = "YouTube Video" alt = "YouTube Video" />