0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-12-22 16:30:20 +00:00

refactor(thumbnail): Changed video preview quality from maxresdefault to hqdefault.

This commit is contained in:
Georgiy 2023-05-26 18:46:26 +03:00
parent 90931d7286
commit 2e93cd400c

View file

@ -102,7 +102,7 @@ const innertubeModule = {
getThumbnail(id, resolution, backupThumbnail) {
if (resolution == "max") {
const url = `https://img.youtube.com/vi/${id}/maxresdefault.jpg`;
const url = `https://img.youtube.com/vi/${id}/hqdefault.jpg`;
let img = new Image();
img.src = url;
img.onload = function () {