aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/VideoBox.tsx
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-07-22 17:30:35 -0400
committerSam Wilkins <samwilkins333@gmail.com>2019-07-22 17:30:35 -0400
commit19bcd75ff1a432e04e03897327b075ff3b9b8778 (patch)
tree8d6743edef4916b7f64321a815ec953014f3f566 /src/client/views/nodes/VideoBox.tsx
parentde46e5c8a6b484f56a18df53dded58697d6efa51 (diff)
parentfc1dbb1327d10bd1832d33a87d18cff1e836ecfb (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
:wq
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
-rw-r--r--src/client/views/nodes/VideoBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx
index 83ad2a3b3..5624d41a9 100644
--- a/src/client/views/nodes/VideoBox.tsx
+++ b/src/client/views/nodes/VideoBox.tsx
@@ -65,6 +65,7 @@ export class VideoBox extends DocComponent<FieldViewProps, VideoDocument>(VideoD
@action public Seek(time: number) {
this._youtubePlayer && this._youtubePlayer.seekTo(Math.round(time), true);
+ this.player && (this.player.currentTime = time);
}
@action public Pause = (update: boolean = true) => {