From eaf619f4f89f67e6428ba87f3d9d82b848fbc7ed Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Mon, 13 Jan 2025 01:42:58 +0100 Subject: [PATCH] Revert "Temporarily comment out zoom from player overlay" This reverts commit ebdc26a00d1dca444081fe9d04c2bddf7965233a. --- src/ext/lib/video-data/PlayerData.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ext/lib/video-data/PlayerData.ts b/src/ext/lib/video-data/PlayerData.ts index 027757b..d47f45a 100644 --- a/src/ext/lib/video-data/PlayerData.ts +++ b/src/ext/lib/video-data/PlayerData.ts @@ -560,8 +560,6 @@ class PlayerData { const playerQs = this.siteSettings.getCustomDOMQuerySelector('player'); const playerIndex = this.siteSettings.getPlayerIndex(); - console.log('player index:', playerIndex, 'player qs:', playerQs) - // on verbose, get both qs and index player if (options?.verbose) { if (playerIndex) { @@ -592,8 +590,6 @@ class PlayerData { } } - console.log('got player candidate from manual selection?:', playerCandidate); - if (playerCandidate) { if (options?.verbose) { this.getPlayerAuto(elementStack, videoWidth, videoHeight); @@ -717,10 +713,8 @@ class PlayerData { } } if (bestCandidate.initialValue) { - console.log('No candidates found:', bestCandidate, 'element stack:', elementStack); bestCandidate = null; } else { - console.log('Got auto-matched candidate', bestCandidate); bestCandidate.heuristics['autoMatch'] = true; if (this.siteSettings.data.playerAutoConfig?.initialIndex !== bestCandidate.index) { this.siteSettings.set('playerAutoConfig.initialIndex', bestCandidate.index, {reload: false});