aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/standalone')
-rw-r--r--client/src/standalone/videos/embed.ts7
1 files changed, 6 insertions, 1 deletions
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 {
531 videoCaptions, 531 videoCaptions,
532 inactivityTimeout: 2500, 532 inactivityTimeout: 2500,
533 videoViewUrl: this.getVideoUrl(videoInfo.uuid) + '/views', 533 videoViewUrl: this.getVideoUrl(videoInfo.uuid) + '/views',
534 videoUUID: videoInfo.uuid,
534 535
535 isLive: videoInfo.isLive, 536 isLive: videoInfo.isLive,
536 537
@@ -545,7 +546,8 @@ export class PeerTubeEmbed {
545 546
546 serverUrl: window.location.origin, 547 serverUrl: window.location.origin,
547 language: navigator.language, 548 language: navigator.language,
548 embedUrl: window.location.origin + videoInfo.embedPath 549 embedUrl: window.location.origin + videoInfo.embedPath,
550 embedTitle: videoInfo.name
549 }, 551 },
550 552
551 webtorrent: { 553 webtorrent: {
@@ -757,6 +759,7 @@ export class PeerTubeEmbed {
757 await loadPlugin({ 759 await loadPlugin({
758 hooks: this.peertubeHooks, 760 hooks: this.peertubeHooks,
759 pluginInfo, 761 pluginInfo,
762 onSettingsScripts: () => undefined,
760 peertubeHelpersFactory: _ => this.buildPeerTubeHelpers(translations) 763 peertubeHelpersFactory: _ => this.buildPeerTubeHelpers(translations)
761 }) 764 })
762 } 765 }
@@ -783,6 +786,8 @@ export class PeerTubeEmbed {
783 786
784 showModal: unimplemented, 787 showModal: unimplemented,
785 788
789 getServerConfig: unimplemented,
790
786 markdownRenderer: { 791 markdownRenderer: {
787 textMarkdownToHTML: unimplemented, 792 textMarkdownToHTML: unimplemented,
788 enhancedMarkdownToHTML: unimplemented 793 enhancedMarkdownToHTML: unimplemented