mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-07-26 12:08:15 +00:00
Implement cached duration fallback and simulate keyboard events fallback for Disney+ seeks when controls are hidden
This commit is contained in:
@@ -91,6 +91,7 @@ function makeNode(attrs = {}, textContent = '') {
|
||||
function loadTimelineFns(hostname, document = makeDocument()) {
|
||||
return Function('window', 'document', [
|
||||
'let lastDisneyPlusTimelineCandidates = [];',
|
||||
'let lastKnownDisneyPlusDuration = 0;',
|
||||
extractFunction('hostMatchesUrl', source),
|
||||
extractFunction('matchesPlayerUrls', source),
|
||||
extractFunction('isDisneyPlusHost', source),
|
||||
|
||||
Reference in New Issue
Block a user