diff options
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
-rw-r--r-- | src/client/views/nodes/VideoBox.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index 1ff77e373..226c2b1ce 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -154,6 +154,11 @@ export class VideoBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp // plays video @action public Play = (update: boolean = true) => { + if (Doc.UserDoc().presentationMode === 'watching' && !this._playing) { + console.log('VideoBox : Play : presentation mode', this._playing); + return; + } + // if presentation isn't null, call followmovements on the recording api if (this.presentation) { const err = RecordingApi.Instance.playMovements(this.presentation, this.player?.currentTime || 0, this); |