diff options
author | Michael Foiani <sotech117@Michaels-MacBook-Pro-5.local> | 2022-06-15 22:15:03 -0400 |
---|---|---|
committer | Michael Foiani <sotech117@Michaels-MacBook-Pro-5.local> | 2022-06-15 22:15:03 -0400 |
commit | 64200804a1e63981593c89abecedd4ae769da3b6 (patch) | |
tree | cabee3c59b5c31f140b21725ee87ecbb0919afc7 /src | |
parent | 1241c614324124e61cd1c2b0f8159122ee36ffd8 (diff) |
got basic demo working
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?.()); |