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
1 changed files with 1 additions and 1 deletions

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 () {