aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-watch/video-watch.component.ts
diff options
context:
space:
mode:
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.ts4
1 files changed, 2 insertions, 2 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 2007bdecb..acfd46a41 100644
--- a/client/src/app/+videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/+videos/+video-watch/video-watch.component.ts
@@ -113,7 +113,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
113 return this.userService.getAnonymousUser() 113 return this.userService.getAnonymousUser()
114 } 114 }
115 115
116 async ngOnInit () { 116 ngOnInit () {
117 this.serverConfig = this.serverService.getHTMLConfig() 117 this.serverConfig = this.serverService.getHTMLConfig()
118 118
119 PeertubePlayerManager.initState() 119 PeertubePlayerManager.initState()
@@ -640,7 +640,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
640 } 640 }
641 641
642 if (oldVideo && oldVideo.id !== newVideo.id) { 642 if (oldVideo && oldVideo.id !== newVideo.id) {
643 await this.peertubeSocket.unsubscribeLiveVideos(oldVideo.id) 643 this.peertubeSocket.unsubscribeLiveVideos(oldVideo.id)
644 } 644 }
645 645
646 if (!newVideo.isLive) return 646 if (!newVideo.isLive) return