fix: call play() after seekTo in checkLoop to prevent video freeze

This commit is contained in:
2026-06-12 23:26:04 +08:00
parent ad6b6d0833
commit dda717522d

View File

@@ -231,6 +231,7 @@ export class Engine {
if (this.loopActive && scene.loopEnd && time >= scene.loopEnd) {
this.videoManager.seekTo(scene.loopStart)
this.videoManager.getActiveVideoElement()?.play().catch(() => {})
}
}