diff options
Diffstat (limited to 'client/src/app/+videos/+video-watch/video-watch.component.ts')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.ts | 2 |
1 files changed, 2 insertions, 0 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 292ce6441..8d9c08ab3 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts | |||
@@ -242,6 +242,8 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
242 | 242 | ||
243 | if (this.player) this.player.pause() | 243 | if (this.player) this.player.pause() |
244 | 244 | ||
245 | this.video = undefined | ||
246 | |||
245 | const videoObs = this.hooks.wrapObsFun( | 247 | const videoObs = this.hooks.wrapObsFun( |
246 | this.videoService.getVideo.bind(this.videoService), | 248 | this.videoService.getVideo.bind(this.videoService), |
247 | { videoId }, | 249 | { videoId }, |