hello everyone,
Need help for showing unity thumbnail as button or image.
how can i get that and put that at this button? need your advice and thanks for your attention.
looks like can do:
video id is “DDsRfbfnC_A”
so could probably load that image with www or unitywebrequest
*founded image url from this data dump https://www.youtube.com/get_video_info?video_id=DDsRfbfnC_A
I swear they have bigger image
EDIT:
max size is:
https://img.youtube.com/vi/VIDEOID/maxresdefault.jpg
more:
Small auto-generated thumbnail 1
http://img.youtube.com/vi/VIDEOID/1.jpg
Small auto-generated thumbnail 2
http://img.youtube.com/vi/VIDEOID/2.jpg
Small auto-generated thumbnail 3
http://img.youtube.com/vi/VIDEOID/3.jpg
Small custom thumbnail
http://img.youtube.com/vi/VIDEOID/mqdefault.jpg
Medium custom thumbnail at 4:3 ratio
http://img.youtube.com/vi/VIDEOID/0.jpg
Large custom thumbnail
http://img.youtube.com/vi/VIDEOID/maxresdefault.jpg (only available if video has 720p or 1080p option)
Data dump and using the ID url ok let me try that
Thanks for your reply, i want to try that.
Hi mgear,
You can also do the same thing with this url as an alternative: http://youtubethumbnaildownloaderonline.com/?id=DDsRfbfnC_A