fix: play after seekTo in loop ended handler for loopStart=0
This commit is contained in:
@@ -119,6 +119,7 @@ export class Engine {
|
||||
this.videoManager.onEnd(() => {
|
||||
if (this.loopActive && scene.loopEnd) {
|
||||
this.videoManager.seekTo(scene.loopStart!)
|
||||
this.videoManager.getActiveVideoElement()?.play().catch(() => {})
|
||||
return
|
||||
}
|
||||
if (scene.loopStart && !this.loopActive) {
|
||||
|
||||
Reference in New Issue
Block a user