diff options
| author | Jenny Yu <jennyyu212@outlook.com> | 2022-05-12 01:39:26 -0400 |
|---|---|---|
| committer | Jenny Yu <jennyyu212@outlook.com> | 2022-05-12 01:39:26 -0400 |
| commit | 19f0eca0f5f1b0d12ac369f149caf787f88dd9d6 (patch) | |
| tree | 6ae585c7e630d5d45aed72f0533d7ea597180580 /src/client/views/nodes/VideoBox.tsx | |
| parent | b47ff4a335d15a259a6db436e8f2a1beb3180f6d (diff) | |
feat: added checkbox for optional screen tracking
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
| -rw-r--r-- | src/client/views/nodes/VideoBox.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index 58e9f390c..902f19716 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -163,8 +163,11 @@ export class VideoBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp // if presentation isn't null, call followmovements on the recording api if (this.presentation) { + console.log("presentation isn't null") const err = RecordingApi.Instance.playMovements(this.presentation, this.player?.currentTime || 0, this); err && console.log(err) + } else { + console.log("presentation is null") } this._playing = true; @@ -354,7 +357,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp // sets video element ref @action setVideoRef = (vref: HTMLVideoElement | null) => { - console.log("SEt video ref " + vref) + console.log("Set video ref " + vref) this._videoRef = vref; if (vref) { this._videoRef!.ontimeupdate = this.updateTimecode; |
