aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-20 09:59:53 +0200
committerChocobozzz <me@florianbigard.com>2022-05-20 09:59:53 +0200
commit60f013e1031871b7e0913c724f0bd2e569721c8e (patch)
tree9a138d17223292d02ac25ec36392aef30d203d3c /client/src/app/shared
parenta871d2a27324defde9a9ee6a998907886715f18e (diff)
downloadPeerTube-60f013e1031871b7e0913c724f0bd2e569721c8e.tar.gz
PeerTube-60f013e1031871b7e0913c724f0bd2e569721c8e.tar.zst
PeerTube-60f013e1031871b7e0913c724f0bd2e569721c8e.zip
Add control bar option for peertube player
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/shared-share-modal/video-share.component.html4
-rw-r--r--client/src/app/shared/shared-share-modal/video-share.component.ts6
2 files changed, 5 insertions, 5 deletions
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 @@
250 250
251 <div class="form-group"> 251 <div class="form-group">
252 <my-peertube-checkbox 252 <my-peertube-checkbox
253 inputName="controls" [(ngModel)]="customizations.controls" 253 inputName="controlBar" [(ngModel)]="customizations.controlBar"
254 i18n-labelText labelText="Display player controls" 254 i18n-labelText labelText="Display player control bar"
255 ></my-peertube-checkbox> 255 ></my-peertube-checkbox>
256 </div> 256 </div>
257 257
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 = {
27 onlyEmbedUrl: boolean 27 onlyEmbedUrl: boolean
28 title: boolean 28 title: boolean
29 warningTitle: boolean 29 warningTitle: boolean
30 controls: boolean 30 controlBar: boolean
31 peertubeLink: boolean 31 peertubeLink: boolean
32} 32}
33 33
@@ -88,7 +88,7 @@ export class VideoShareComponent {
88 onlyEmbedUrl: false, 88 onlyEmbedUrl: false,
89 title: true, 89 title: true,
90 warningTitle: true, 90 warningTitle: true,
91 controls: true, 91 controlBar: true,
92 peertubeLink: true 92 peertubeLink: true
93 }, { 93 }, {
94 set: (target, prop, value) => { 94 set: (target, prop, value) => {
@@ -190,7 +190,7 @@ export class VideoShareComponent {
190 ? { 190 ? {
191 title: this.customizations.title, 191 title: this.customizations.title,
192 warningTitle: this.customizations.warningTitle, 192 warningTitle: this.customizations.warningTitle,
193 controls: this.customizations.controls, 193 controlBar: this.customizations.controlBar,
194 peertubeLink: this.customizations.peertubeLink, 194 peertubeLink: this.customizations.peertubeLink,
195 195
196 // If using default value, we don't need to specify it 196 // If using default value, we don't need to specify it