aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/standalone/videos/embed.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts
index 86a91643a..468b1889f 100644
--- a/client/src/standalone/videos/embed.ts
+++ b/client/src/standalone/videos/embed.ts
@@ -35,6 +35,7 @@ export class PeerTubeEmbed {
35 35
36 title: boolean 36 title: boolean
37 warningTitle: boolean 37 warningTitle: boolean
38 peertubeLink: boolean
38 bigPlayBackgroundColor: string 39 bigPlayBackgroundColor: string
39 foregroundColor: string 40 foregroundColor: string
40 41
@@ -134,6 +135,7 @@ export class PeerTubeEmbed {
134 this.title = this.getParamToggle(params, 'title', true) 135 this.title = this.getParamToggle(params, 'title', true)
135 this.enableApi = this.getParamToggle(params, 'api', this.enableApi) 136 this.enableApi = this.getParamToggle(params, 'api', this.enableApi)
136 this.warningTitle = this.getParamToggle(params, 'warningTitle', true) 137 this.warningTitle = this.getParamToggle(params, 'warningTitle', true)
138 this.peertubeLink = this.getParamToggle(params, 'peertubeLink', true)
137 139
138 this.scope = this.getParamString(params, 'scope', this.scope) 140 this.scope = this.getParamString(params, 'scope', this.scope)
139 this.subtitle = this.getParamString(params, 'subtitle') 141 this.subtitle = this.getParamString(params, 'subtitle')
@@ -209,7 +211,7 @@ export class PeerTubeEmbed {
209 211
210 videoDuration: videoInfo.duration, 212 videoDuration: videoInfo.duration,
211 enableHotkeys: true, 213 enableHotkeys: true,
212 peertubeLink: true, 214 peertubeLink: this.peertubeLink,
213 poster: window.location.origin + videoInfo.previewPath, 215 poster: window.location.origin + videoInfo.previewPath,
214 theaterButton: false, 216 theaterButton: false,
215 217