From 0cd6ffc09cd76951fea3d861a6bda7f5984cb9d2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 21 Aug 2020 13:50:04 +0200 Subject: Send videojs to action player hooks --- client/src/standalone/videos/embed.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/standalone') 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 { }) } - this.runHook('action:embed.player.loaded', undefined, { player: this.player }) + this.runHook('action:embed.player.loaded', undefined, { player: this.player, videojs }) } private async initCore () { -- cgit v1.2.3