aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts
index 626d0ca07..835e9e34a 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -147,7 +147,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
147 147
148 this.queryParamsSub = this.route.queryParams.subscribe(async queryParams => { 148 this.queryParamsSub = this.route.queryParams.subscribe(async queryParams => {
149 const videoId = queryParams[ 'videoId' ] 149 const videoId = queryParams[ 'videoId' ]
150 if (videoId) await this.loadVideo(videoId) 150 if (videoId) this.loadVideo(videoId)
151 151
152 const start = queryParams[ 'start' ] 152 const start = queryParams[ 'start' ]
153 if (this.player && start) this.player.currentTime(parseInt(start, 10)) 153 if (this.player && start) this.player.currentTime(parseInt(start, 10))