How to Get YouTube Thumbnail Image in Kodular?

Hi everyone,

I’m working on a project in Kodular and I need to display YouTube video thumbnails inside my app.

I was wondering what’s the best way to get a YouTube thumbnail using a video URL or video ID in Kodular?

Is there any built-in method, API, or workaround to fetch high-quality thumbnails?

I’ve tried a few methods but I’m not sure which one is the most reliable, especially for different devices.

Any guidance or example blocks would really help!

Thanks in advance :raising_hands:

Are you? As you just asked the same question at MIT.

2 Likes

Hi dear,

YouTube provides some links to get thumbnails in different resolutions.

Max quality

https://img.youtube.com/vi/VIDEO-ID/hqdefault.jpg

Medium quality

https://img.youtube.com/vi/VIDEO-ID/mqdefault.jpg

Low quality

https://img.youtube.com/vi/VIDEO-ID/default.jpg

1 Like

:joy: :joy: :joy: :joy: