Compare commits
No commits in common. "eaf619f4f89f67e6428ba87f3d9d82b848fbc7ed" and "ebdc26a00d1dca444081fe9d04c2bddf7965233a" have entirely different histories.
eaf619f4f8
...
ebdc26a00d
@ -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">
|
||||
|
@ -560,6 +560,8 @@ 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) {
|
||||
@ -590,6 +592,8 @@ class PlayerData {
|
||||
}
|
||||
}
|
||||
|
||||
console.log('got player candidate from manual selection?:', playerCandidate);
|
||||
|
||||
if (playerCandidate) {
|
||||
if (options?.verbose) {
|
||||
this.getPlayerAuto(elementStack, videoWidth, videoHeight);
|
||||
@ -713,8 +717,10 @@ 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});
|
||||
|
Loading…
Reference in New Issue
Block a user