mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-10-31 17:02:38 +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) {
|
getThumbnail(id, resolution, backupThumbnail) {
|
||||||
if (resolution == "max") {
|
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();
|
let img = new Image();
|
||||||
img.src = url;
|
img.src = url;
|
||||||
img.onload = function () {
|
img.onload = function () {
|
||||||
|
|
Loading…
Reference in a new issue