X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideos%2F%2Bvideo-watch%2Fvideo-watch.component.ts;h=a444dc51f8feea704e5b1b11423e7bf163ab5c4f;hb=62ddc31a9e4b92d7d27898ccfc363f68ab044139;hp=3fdbc018407bf729f85639f2d8fec1e9bdf455dc;hpb=fc21ef5c62d845576a916414468b3a57370a57b2;p=github%2FChocobozzz%2FPeerTube.git 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 3fdbc0184..a444dc51f 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts @@ -12,6 +12,7 @@ import { MetaService, Notifier, PeerTubeSocket, + PluginService, RestExtractor, ScreenService, ServerService, @@ -146,6 +147,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { private videoCaptionService: VideoCaptionService, private hotkeysService: HotkeysService, private hooks: HooksService, + private pluginService: PluginService, private peertubeSocket: PeerTubeSocket, private screenService: ScreenService, private location: PlatformLocation, @@ -859,7 +861,9 @@ export class VideoWatchComponent implements OnInit, OnDestroy { webtorrent: { videoFiles: video.files - } + }, + + pluginsManager: this.pluginService.getPluginsManager() } // Only set this if we're in a playlist