Improved video preview quality

This commit is contained in:
Данил 2022-10-30 20:11:49 +03:00
parent 1cc8db7b9f
commit 36d476c0de

View file

@ -36,7 +36,6 @@ func GetWallpaper(date string) string {
} }
if Wallpaper.Media_type == "video" { if Wallpaper.Media_type == "video" {
Wallpaper.Url = "https://img.youtube.com/vi/" + Wallpaper.Url[30:41] + "/maxresdefault.jpg"
return "https://img.youtube.com/vi/" + Wallpaper.Url[30:41] + "/maxresdefault.jpg" return "https://img.youtube.com/vi/" + Wallpaper.Url[30:41] + "/maxresdefault.jpg"
} }