aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-21 13:50:04 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-21 15:39:51 +0200
commit0cd6ffc09cd76951fea3d861a6bda7f5984cb9d2 (patch)
treebf4d59fe8d1ae871bf38a792cbfc1a47b716831d /client/src/app/+videos
parent79f392a6578f67d74da3dbf883a9f4b40c35124b (diff)
downloadPeerTube-0cd6ffc09cd76951fea3d861a6bda7f5984cb9d2.tar.gz
PeerTube-0cd6ffc09cd76951fea3d861a6bda7f5984cb9d2.tar.zst
PeerTube-0cd6ffc09cd76951fea3d861a6bda7f5984cb9d2.zip
Send videojs to action player hooks
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r--client/src/app/+videos/+video-watch/video-watch.component.ts2
1 files changed, 1 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 7ff860e79..0a61227a8 100644
--- a/client/src/app/+videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/+videos/+video-watch/video-watch.component.ts
@@ -548,7 +548,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
548 this.zone.run(() => this.theaterEnabled = enabled) 548 this.zone.run(() => this.theaterEnabled = enabled)
549 }) 549 })
550 550
551 this.hooks.runAction('action:video-watch.player.loaded', 'video-watch', { player: this.player }) 551 this.hooks.runAction('action:video-watch.player.loaded', 'video-watch', { player: this.player, videojs })
552 }) 552 })
553 553
554 this.setVideoDescriptionHTML() 554 this.setVideoDescriptionHTML()