diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-21 13:50:04 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-21 15:39:51 +0200 |
commit | 0cd6ffc09cd76951fea3d861a6bda7f5984cb9d2 (patch) | |
tree | bf4d59fe8d1ae871bf38a792cbfc1a47b716831d /client/src/standalone/videos/embed.ts | |
parent | 79f392a6578f67d74da3dbf883a9f4b40c35124b (diff) | |
download | PeerTube-0cd6ffc09cd76951fea3d861a6bda7f5984cb9d2.tar.gz PeerTube-0cd6ffc09cd76951fea3d861a6bda7f5984cb9d2.tar.zst PeerTube-0cd6ffc09cd76951fea3d861a6bda7f5984cb9d2.zip |
Send videojs to action player hooks
Diffstat (limited to 'client/src/standalone/videos/embed.ts')
-rw-r--r-- | client/src/standalone/videos/embed.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index c79471005..af98a1561 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts | |||
@@ -588,7 +588,7 @@ export class PeerTubeEmbed { | |||
588 | }) | 588 | }) |
589 | } | 589 | } |
590 | 590 | ||
591 | this.runHook('action:embed.player.loaded', undefined, { player: this.player }) | 591 | this.runHook('action:embed.player.loaded', undefined, { player: this.player, videojs }) |
592 | } | 592 | } |
593 | 593 | ||
594 | private async initCore () { | 594 | private async initCore () { |