diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/VideoBox.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index 794d363f1..b18d3ad1a 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -345,11 +345,11 @@ export class VideoBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp updateTimecode = (e? : any) => { // BUGFIX: if seeking when paused, no longer finished // ok this is constantly fired all the time - // if (e && !this._playing && this.player && this.player.paused) { - // console.log('updateTimecode: seeking when paused', e); - // this.player.currentTime = e.target.currentTime; - // this._finished = false; - // } + if (e && !this._playing && this.player && this.player.paused) { + // console.log('updateTimecode: seeking when paused', e); + this.player.currentTime = e.target.currentTime; + this._finished = false; + } this.player && (this.layoutDoc._currentTimecode = this.player.currentTime); try { this._youtubePlayer && (this.layoutDoc._currentTimecode = this._youtubePlayer.getCurrentTime?.()); |