Fix not playing player after making slight adjustment

This commit is contained in:
Nicolas Mowen 2024-03-22 07:31:37 -06:00
parent 99232ce200
commit 072adaea02
2 changed files with 6 additions and 0 deletions

View File

@ -42,6 +42,10 @@ export class DynamicVideoController {
} }
} }
play() {
this.playerController.play();
}
pause() { pause() {
this.playerController.pause(); this.playerController.pause();
} }

View File

@ -147,6 +147,8 @@ export function RecordingView({
} else { } else {
updateSelectedSegment(currentTime, true); updateSelectedSegment(currentTime, true);
} }
} else {
mainControllerRef.current?.play();
} }
} }
// we only want to seek when current time doesn't match the player update time // we only want to seek when current time doesn't match the player update time