diff --git a/public/demo/intro/1080p/seg_000.ts b/public/demo/intro/1080p/seg_000.ts index fdc4871..2646eb3 100644 Binary files a/public/demo/intro/1080p/seg_000.ts and b/public/demo/intro/1080p/seg_000.ts differ diff --git a/public/demo/intro/480p/seg_000.ts b/public/demo/intro/480p/seg_000.ts index c05fe3f..1cb5690 100644 Binary files a/public/demo/intro/480p/seg_000.ts and b/public/demo/intro/480p/seg_000.ts differ diff --git a/public/demo/intro/720p/seg_000.ts b/public/demo/intro/720p/seg_000.ts index c468ebd..6fb08a3 100644 Binary files a/public/demo/intro/720p/seg_000.ts and b/public/demo/intro/720p/seg_000.ts differ diff --git a/src/App.vue b/src/App.vue index bbd80c4..4ba9036 100644 --- a/src/App.vue +++ b/src/App.vue @@ -113,7 +113,13 @@ watch([() => store.qteTimeRelax, () => store.qteSingleKey], () => { watch(() => store.preferredQuality, (q) => { engine.videoManager.streamingQuality = q -}) + const scene = store.currentScene + if (scene?.streamingUrl && q) { + const url = engine.videoManager.resolveVideoUrl(scene, q) + const ct = engine.videoManager.getCurrentTime() + engine.videoManager.switchQuality(url, ct) + } +}, { immediate: true }) watch( () => [