From 7294aab0c879ef96c0fde15c389a2c4c1463d3c7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 20 Aug 2020 16:18:16 +0200 Subject: Add ability to set custom field to video form --- client/src/standalone/videos/embed.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client/src/standalone') diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index fe65794f7..c79471005 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts @@ -750,7 +750,11 @@ export class PeerTubeEmbed { isTheme: false } - await loadPlugin(this.peertubeHooks, pluginInfo, _ => this.buildPeerTubeHelpers(translations)) + await loadPlugin({ + hooks: this.peertubeHooks, + pluginInfo, + peertubeHelpersFactory: _ => this.buildPeerTubeHelpers(translations) + }) } } } -- cgit v1.2.3