diff options
Diffstat (limited to 'client/src/app/videos/+video-watch/modal/video-share.component.html')
-rw-r--r-- | client/src/app/videos/+video-watch/modal/video-share.component.html | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/client/src/app/videos/+video-watch/modal/video-share.component.html b/client/src/app/videos/+video-watch/modal/video-share.component.html index 02f5f0f44..a20c320a4 100644 --- a/client/src/app/videos/+video-watch/modal/video-share.component.html +++ b/client/src/app/videos/+video-watch/modal/video-share.component.html | |||
@@ -17,6 +17,11 @@ | |||
17 | </div> | 17 | </div> |
18 | </div> | 18 | </div> |
19 | 19 | ||
20 | <div class="form-group qr-code-group"> | ||
21 | <label i18n>QR-Code</label> | ||
22 | <ngx-qrcode qrc-element-type="url" [qrc-value]="getVideoUrl()" qrc-errorCorrectionLevel="Q"></ngx-qrcode> | ||
23 | </div> | ||
24 | |||
20 | <div class="form-group"> | 25 | <div class="form-group"> |
21 | <label i18n>Embed</label> | 26 | <label i18n>Embed</label> |
22 | <div class="input-group input-group-sm"> | 27 | <div class="input-group input-group-sm"> |
@@ -32,15 +37,17 @@ | |||
32 | <div i18n *ngIf="notSecure()" class="alert alert-warning"> | 37 | <div i18n *ngIf="notSecure()" class="alert alert-warning"> |
33 | The url is not secured (no HTTPS), so the embed video won't work on HTTPS websites (web browsers block non secured HTTP requests on HTTPS websites). | 38 | The url is not secured (no HTTPS), so the embed video won't work on HTTPS websites (web browsers block non secured HTTP requests on HTTPS websites). |
34 | </div> | 39 | </div> |
40 | </div> | ||
35 | 41 | ||
36 | <div class="form-group qr-code-group"> | 42 | <div *ngIf="currentVideoTimestampString" class="start-at"> |
37 | <label i18n>QR-Code</label> | 43 | <my-peertube-checkbox |
38 | <ngx-qrcode qrc-element-type="url" [qrc-value]="getVideoUrl()" qrc-errorCorrectionLevel="Q"></ngx-qrcode> | 44 | inputName="startAt" [(ngModel)]="startAtCheckbox" |
39 | </div> | 45 | i18n-labelText [labelText]="getStartCheckboxLabel()" |
46 | ></my-peertube-checkbox> | ||
40 | </div> | 47 | </div> |
41 | 48 | ||
42 | <div class="modal-footer inputs"> | 49 | <div class="modal-footer inputs"> |
43 | <span i18n class="action-button action-button-cancel" (click)="hide()">Cancel</span> | 50 | <span i18n class="action-button action-button-cancel" (click)="hide()">Close</span> |
44 | </div> | 51 | </div> |
45 | 52 | ||
46 | </ng-template> | 53 | </ng-template> |