diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-16 09:54:45 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-16 10:08:55 +0100 |
commit | 85302118227bad232afdebb84a5c245f862366bd (patch) | |
tree | a3969d4bc60763c2318e95674386c8a4f1e3f6c6 /client/src/app/shared/shared-share-modal/video-share.component.html | |
parent | b65de1be4dcf626c552be613d531d3f6e23c6085 (diff) | |
download | PeerTube-85302118227bad232afdebb84a5c245f862366bd.tar.gz PeerTube-85302118227bad232afdebb84a5c245f862366bd.tar.zst PeerTube-85302118227bad232afdebb84a5c245f862366bd.zip |
Add ability to disable p2p in embed with URL
Diffstat (limited to 'client/src/app/shared/shared-share-modal/video-share.component.html')
-rw-r--r-- | client/src/app/shared/shared-share-modal/video-share.component.html | 11 |
1 files changed, 9 insertions, 2 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 e5cee1b2f..a0a593a24 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 | |||
@@ -218,8 +218,15 @@ | |||
218 | 218 | ||
219 | <div class="form-group"> | 219 | <div class="form-group"> |
220 | <my-peertube-checkbox | 220 | <my-peertube-checkbox |
221 | inputName="embedP2P" [(ngModel)]="customizations.embedP2P" | ||
222 | i18n-labelText labelText="P2P" | ||
223 | ></my-peertube-checkbox> | ||
224 | </div> | ||
225 | |||
226 | <div class="form-group"> | ||
227 | <my-peertube-checkbox | ||
221 | inputName="warningTitle" [(ngModel)]="customizations.warningTitle" | 228 | inputName="warningTitle" [(ngModel)]="customizations.warningTitle" |
222 | i18n-labelText labelText="Display privacy warning" | 229 | i18n-labelText labelText="Display privacy warning" [disabled]="!customizations.embedP2P" |
223 | ></my-peertube-checkbox> | 230 | ></my-peertube-checkbox> |
224 | </div> | 231 | </div> |
225 | 232 | ||
@@ -232,7 +239,7 @@ | |||
232 | 239 | ||
233 | <div class="form-group"> | 240 | <div class="form-group"> |
234 | <my-peertube-checkbox | 241 | <my-peertube-checkbox |
235 | inputName="controls" [(ngModel)]="customizations.peertubeLink" | 242 | inputName="peertubeLink" [(ngModel)]="customizations.peertubeLink" |
236 | i18n-labelText labelText="Display PeerTube button link" | 243 | i18n-labelText labelText="Display PeerTube button link" |
237 | ></my-peertube-checkbox> | 244 | ></my-peertube-checkbox> |
238 | </div> | 245 | </div> |