X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fstandalone%2Fvideos%2Fembed.ts;h=103014bb08dd3c7c23bd58c6a88e79da405fc2c0;hb=3c47fa3bc0e3f2362bb17976057287a7e9aba46b;hp=cf4bc6f03d103c34b455d115206c2535cc995bbc;hpb=72aa835e170f5dfa5fb7b78d50a5d097ea194ef6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index cf4bc6f03..103014bb0 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts @@ -531,6 +531,7 @@ export class PeerTubeEmbed { videoCaptions, inactivityTimeout: 2500, videoViewUrl: this.getVideoUrl(videoInfo.uuid) + '/views', + videoUUID: videoInfo.uuid, isLive: videoInfo.isLive, @@ -545,7 +546,8 @@ export class PeerTubeEmbed { serverUrl: window.location.origin, language: navigator.language, - embedUrl: window.location.origin + videoInfo.embedPath + embedUrl: window.location.origin + videoInfo.embedPath, + embedTitle: videoInfo.name }, webtorrent: { @@ -757,6 +759,7 @@ export class PeerTubeEmbed { await loadPlugin({ hooks: this.peertubeHooks, pluginInfo, + onSettingsScripts: () => undefined, peertubeHelpersFactory: _ => this.buildPeerTubeHelpers(translations) }) } @@ -783,6 +786,8 @@ export class PeerTubeEmbed { showModal: unimplemented, + getServerConfig: unimplemented, + markdownRenderer: { textMarkdownToHTML: unimplemented, enhancedMarkdownToHTML: unimplemented