diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.ts | 7 |
1 files changed, 6 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 de5fb4ed0..0c0eaaa78 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts | |||
@@ -565,7 +565,12 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
565 | this.setOpenGraphTags() | 565 | this.setOpenGraphTags() |
566 | this.checkUserRating() | 566 | this.checkUserRating() |
567 | 567 | ||
568 | this.hooks.runAction('action:video-watch.video.loaded', 'video-watch', { videojs }) | 568 | const hookOptions = { |
569 | videojs, | ||
570 | video: this.video, | ||
571 | playlist: this.playlist | ||
572 | } | ||
573 | this.hooks.runAction('action:video-watch.video.loaded', 'video-watch', hookOptions) | ||
569 | } | 574 | } |
570 | 575 | ||
571 | private async buildPlayer (urlOptions: URLOptions) { | 576 | private async buildPlayer (urlOptions: URLOptions) { |