diff options
| author | bobzel <zzzman@gmail.com> | 2022-06-02 15:44:23 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-06-02 15:44:23 -0400 |
| commit | 58114c03252463b7386d16fc2aef61c361038bfa (patch) | |
| tree | bc4fc6f22f9d2a38583eaeb8ae9ba489350d5cd0 /src/client/views/nodes/VideoBox.tsx | |
| parent | a801dd089a1d2420bca4e8aa9b6eb893d314ad24 (diff) | |
fixed previously introduced bug where pin doc added pres to first tab collection. Highlight pres targets when following. fixed videoBox to play regions properly. adjusted labelBox for stackedTimeline views. fixed stacked timelines to not stop keyboard events which was preventing text notes from being created on video boxes.
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
| -rw-r--r-- | src/client/views/nodes/VideoBox.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index c350e3139..ac848fc2a 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -147,6 +147,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp // plays video @action public Play = (update: boolean = true) => { + if (this._playRegionTimer) return; this._playing = true; const eleTime = this.player?.currentTime || 0; if (this.timeline) { @@ -558,6 +559,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp // removes from currently playing if playback has reached end of range marker else this.removeCurrentlyPlaying(); this.Pause(); + this._playRegionTimer = undefined; }, playRegionDuration * 1000); } else { this.Pause(); |
