Compare commits

...

2 Commits

2 changed files with 2 additions and 8 deletions

View File

@ -77,7 +77,7 @@
</GhettoContextMenuOption>
</slot>
</GhettoContextMenu>
<GhettoContextMenu alignment="right">
<!-- <GhettoContextMenu alignment="right">
<template v-slot:activator>
Zoom
</template>
@ -99,7 +99,7 @@
/>
</GhettoContextMenuItem>
</slot>
</GhettoContextMenu>
</GhettoContextMenu> -->
<GhettoContextMenu alignment="right">
<template v-slot:activator>
<div class="context-item">

View File

@ -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});