aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts6
1 files changed, 2 insertions, 4 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 0d9b6d680..228c45a06 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -103,8 +103,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
103 } 103 }
104 104
105 async ngOnInit () { 105 async ngOnInit () {
106 this.pluginService.loadPluginsByScope('video-watch')
107
108 this.configSub = this.serverService.configLoaded 106 this.configSub = this.serverService.configLoaded
109 .subscribe(() => { 107 .subscribe(() => {
110 if ( 108 if (
@@ -133,7 +131,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
133 131
134 this.theaterEnabled = getStoredTheater() 132 this.theaterEnabled = getStoredTheater()
135 133
136 this.hooks.runAction('action:video-watch.init') 134 this.hooks.runAction('action:video-watch.init', 'video-watch')
137 } 135 }
138 136
139 ngOnDestroy () { 137 ngOnDestroy () {
@@ -497,7 +495,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
497 this.setOpenGraphTags() 495 this.setOpenGraphTags()
498 this.checkUserRating() 496 this.checkUserRating()
499 497
500 this.hooks.runAction('action:video-watch.video.loaded') 498 this.hooks.runAction('action:video-watch.video.loaded', 'video-watch')
501 } 499 }
502 500
503 private setRating (nextRating: UserVideoRateType) { 501 private setRating (nextRating: UserVideoRateType) {