mirror of
https://github.com/Starlio-app/Starlio-web.git
synced 2024-11-22 00:36:20 +03:00
Improved video preview quality
This commit is contained in:
parent
1cc8db7b9f
commit
36d476c0de
1 changed files with 0 additions and 1 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue