From 60f013e1031871b7e0913c724f0bd2e569721c8e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 20 May 2022 09:59:53 +0200 Subject: Add control bar option for peertube player --- client/src/app/shared/shared-share-modal/video-share.component.html | 4 ++-- client/src/app/shared/shared-share-modal/video-share.component.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'client/src/app/shared/shared-share-modal') diff --git a/client/src/app/shared/shared-share-modal/video-share.component.html b/client/src/app/shared/shared-share-modal/video-share.component.html index 7ff62e128..67ca56516 100644 --- a/client/src/app/shared/shared-share-modal/video-share.component.html +++ b/client/src/app/shared/shared-share-modal/video-share.component.html @@ -250,8 +250,8 @@
diff --git a/client/src/app/shared/shared-share-modal/video-share.component.ts b/client/src/app/shared/shared-share-modal/video-share.component.ts index 6c0d4a039..e0c98008c 100644 --- a/client/src/app/shared/shared-share-modal/video-share.component.ts +++ b/client/src/app/shared/shared-share-modal/video-share.component.ts @@ -27,7 +27,7 @@ type Customizations = { onlyEmbedUrl: boolean title: boolean warningTitle: boolean - controls: boolean + controlBar: boolean peertubeLink: boolean } @@ -88,7 +88,7 @@ export class VideoShareComponent { onlyEmbedUrl: false, title: true, warningTitle: true, - controls: true, + controlBar: true, peertubeLink: true }, { set: (target, prop, value) => { @@ -190,7 +190,7 @@ export class VideoShareComponent { ? { title: this.customizations.title, warningTitle: this.customizations.warningTitle, - controls: this.customizations.controls, + controlBar: this.customizations.controlBar, peertubeLink: this.customizations.peertubeLink, // If using default value, we don't need to specify it -- cgit v1.2.3