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:
parent
90931d7286
commit
2e93cd400c
1 changed files with 1 additions and 1 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue