aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2021-05-15 06:30:24 +0200
committerChocobozzz <chocobozzz@cpy.re>2021-06-14 13:35:48 +0200
commit72f611ca1549d711f8cbf5dd08a3f1562a32fabb (patch)
tree5c3bcbc52d1544c94a229842df7ae0cdf58c79b0 /client/src/app/+videos
parent520bf885c5e75914f85196b8350970f51c3e1976 (diff)
downloadPeerTube-72f611ca1549d711f8cbf5dd08a3f1562a32fabb.tar.gz
PeerTube-72f611ca1549d711f8cbf5dd08a3f1562a32fabb.tar.zst
PeerTube-72f611ca1549d711f8cbf5dd08a3f1562a32fabb.zip
add client hook filter:videojs.options
closes #4086
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r--client/src/app/+videos/+video-watch/video-watch.component.ts6
1 files changed, 5 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 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 {
12 MetaService, 12 MetaService,
13 Notifier, 13 Notifier,
14 PeerTubeSocket, 14 PeerTubeSocket,
15 PluginService,
15 RestExtractor, 16 RestExtractor,
16 ScreenService, 17 ScreenService,
17 ServerService, 18 ServerService,
@@ -146,6 +147,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
146 private videoCaptionService: VideoCaptionService, 147 private videoCaptionService: VideoCaptionService,
147 private hotkeysService: HotkeysService, 148 private hotkeysService: HotkeysService,
148 private hooks: HooksService, 149 private hooks: HooksService,
150 private pluginService: PluginService,
149 private peertubeSocket: PeerTubeSocket, 151 private peertubeSocket: PeerTubeSocket,
150 private screenService: ScreenService, 152 private screenService: ScreenService,
151 private location: PlatformLocation, 153 private location: PlatformLocation,
@@ -859,7 +861,9 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
859 861
860 webtorrent: { 862 webtorrent: {
861 videoFiles: video.files 863 videoFiles: video.files
862 } 864 },
865
866 pluginsManager: this.pluginService.getPluginsManager()
863 } 867 }
864 868
865 // Only set this if we're in a playlist 869 // Only set this if we're in a playlist