Temporarily comment out zoom from player overlay
This commit is contained in:
parent
dd47dd09da
commit
ebdc26a00d
@ -560,6 +560,8 @@ class PlayerData {
|
|||||||
const playerQs = this.siteSettings.getCustomDOMQuerySelector('player');
|
const playerQs = this.siteSettings.getCustomDOMQuerySelector('player');
|
||||||
const playerIndex = this.siteSettings.getPlayerIndex();
|
const playerIndex = this.siteSettings.getPlayerIndex();
|
||||||
|
|
||||||
|
console.log('player index:', playerIndex, 'player qs:', playerQs)
|
||||||
|
|
||||||
// on verbose, get both qs and index player
|
// on verbose, get both qs and index player
|
||||||
if (options?.verbose) {
|
if (options?.verbose) {
|
||||||
if (playerIndex) {
|
if (playerIndex) {
|
||||||
@ -590,6 +592,8 @@ class PlayerData {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log('got player candidate from manual selection?:', playerCandidate);
|
||||||
|
|
||||||
if (playerCandidate) {
|
if (playerCandidate) {
|
||||||
if (options?.verbose) {
|
if (options?.verbose) {
|
||||||
this.getPlayerAuto(elementStack, videoWidth, videoHeight);
|
this.getPlayerAuto(elementStack, videoWidth, videoHeight);
|
||||||
@ -713,8 +717,10 @@ class PlayerData {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (bestCandidate.initialValue) {
|
if (bestCandidate.initialValue) {
|
||||||
|
console.log('No candidates found:', bestCandidate, 'element stack:', elementStack);
|
||||||
bestCandidate = null;
|
bestCandidate = null;
|
||||||
} else {
|
} else {
|
||||||
|
console.log('Got auto-matched candidate', bestCandidate);
|
||||||
bestCandidate.heuristics['autoMatch'] = true;
|
bestCandidate.heuristics['autoMatch'] = true;
|
||||||
if (this.siteSettings.data.playerAutoConfig?.initialIndex !== bestCandidate.index) {
|
if (this.siteSettings.data.playerAutoConfig?.initialIndex !== bestCandidate.index) {
|
||||||
this.siteSettings.set('playerAutoConfig.initialIndex', bestCandidate.index, {reload: false});
|
this.siteSettings.set('playerAutoConfig.initialIndex', bestCandidate.index, {reload: false});
|
||||||
|
Loading…
Reference in New Issue
Block a user