From a465009086fa4ca0020c9afbed51369a745ce5fd Mon Sep 17 00:00:00 2001 From: cocos02 Date: Fri, 12 Jun 2026 17:39:58 +0800 Subject: [PATCH] fix: switchQuality add load() to reset HLS state after video ended --- engine/core/VideoManager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/core/VideoManager.ts b/engine/core/VideoManager.ts index effdf37..cccc5e5 100644 --- a/engine/core/VideoManager.ts +++ b/engine/core/VideoManager.ts @@ -183,6 +183,7 @@ export class VideoManager { const active = this.active this.currentSrc = src active.src = src + active.load() this.preloaded.set(this.keyOf(active), src) this.waitReady(active).then(() => { active.currentTime = seekTime