I just tried a YouTube video and it does not work anymore @Manu.n. Is this related to the Replit problem yesterday?
EUhmmmmm
in my test application it still works !!!
test with this address:
https://video-thumbnail-v1.manun2.repl.co/
If that doesn’t work, send me your video link, I’ll watch !!
Well it works.
be careful, for youtube you should not put a time, but one of the options:
0, 1, 2, 3, low0, low1, low2, low3, medium0, medium1, medium2, medium3, high0, high1, high2, high3, max0, max1, max2, max3
test with this link for video
https://youtu.be/lGEESRLmoNg
Yes it is the ‘watch? v=’ which blocks
give me 5 minutes, I will add a few lines of code to avoid this error and be able to keep the links with ‘watch? v =’
Well, I made a little update (a bit messy with yt) but normally your address
youtube.com/watch?v = .....
works.
Following the next episode.
Thank you that will help a lot!
Really impressed @Manu.n!
I made one too: https://column.sh/youtube-thumbnail
but, whether it is your code or mine, if the video does not exist, it does not work
Youtube offers 4 different thumbnails (don’t ask me for an explanation) and different resolutions that I have integrated as options.
Because I am a little questioning on the principle of returning data images-uri when the memory consumption and the speed of refreshing of the application.
@david—will it also return a thumbnail for videos uploaded to Glide??? That’s what we really need
ah yes sorry, there is a small problem, I am looking at this!
works again, a little refresh, and it’s off again …