]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/+video-watch/modal/video-share.component.html
Clean up change password validation
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / modal / video-share.component.html
CommitLineData
63347a0f
C
1<ng-template #modal let-hide="close">
2 <div class="modal-header">
3 <h4 i18n class="modal-title">Share</h4>
4 <span class="close" aria-hidden="true" (click)="hide()"></span>
5 </div>
cf02fbfb 6
63347a0f
C
7 <div class="modal-body">
8 <div class="form-group">
9 <label i18n>URL</label>
10 <div class="input-group input-group-sm">
11 <input #urlInput (click)="urlInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getVideoUrl()" />
12 <div class="input-group-append">
13 <button [ngxClipboard]="urlInput" (click)="activateCopiedMessage()" type="button" class="btn btn-outline-secondary">
14 <span class="glyphicon glyphicon-copy"></span>
15 </button>
cf02fbfb 16 </div>
63347a0f
C
17 </div>
18 </div>
2c8d4697 19
11b8762f
C
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
63347a0f
C
25 <div class="form-group">
26 <label i18n>Embed</label>
27 <div class="input-group input-group-sm">
28 <input #shareInput (click)="shareInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getVideoIframeCode()" />
29 <div class="input-group-append">
30 <button [ngxClipboard]="shareInput" (click)="activateCopiedMessage()" type="button" class="btn btn-outline-secondary">
31 <span class="glyphicon glyphicon-copy"></span>
32 </button>
2c8d4697 33 </div>
63347a0f
C
34 </div>
35 </div>
5f0805d3 36
63347a0f
C
37 <div i18n *ngIf="notSecure()" class="alert alert-warning">
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).
39 </div>
11b8762f 40 </div>
4503cb2a 41
11b8762f
C
42 <div *ngIf="currentVideoTimestampString" class="start-at">
43 <my-peertube-checkbox
44 inputName="startAt" [(ngModel)]="startAtCheckbox"
45 i18n-labelText [labelText]="getStartCheckboxLabel()"
46 ></my-peertube-checkbox>
cf02fbfb 47 </div>
63347a0f
C
48
49 <div class="modal-footer inputs">
11b8762f 50 <span i18n class="action-button action-button-cancel" (click)="hide()">Close</span>
63347a0f
C
51 </div>
52
53</ng-template>