From bd2b51be4b29e6c3c72d8715164cde672bd41186 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 28 Jun 2022 14:04:03 +0200 Subject: Put instance name in embed button --- client/src/standalone/videos/embed.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/src/standalone/videos/embed.ts') diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index 0a2b0ccbd..c15d4db17 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts @@ -196,6 +196,8 @@ export class PeerTubeEmbed { captionsResponse, alreadyHadPlayer, translations, + serverConfig: this.config, + onVideoUpdate: (uuid: string) => this.loadVideoAndBuildPlayer(uuid), playlistTracker: this.playlistTracker, -- cgit v1.2.3