]>
Commit | Line | Data |
---|---|---|
cf02fbfb | 1 | <div bsModal #modal="bs-modal" class="modal" tabindex="-1"> |
5f0805d3 | 2 | <div class="modal-dialog"> |
cf02fbfb C |
3 | <div class="modal-content"> |
4 | ||
5 | <div class="modal-header"> | |
5f0805d3 | 6 | <span class="close" aria-hidden="true" (click)="hide()"></span> |
b1d40cff | 7 | <h4 i18n class="modal-title">Share</h4> |
cf02fbfb C |
8 | </div> |
9 | ||
10 | <div class="modal-body"> | |
11 | <div class="form-group"> | |
b1d40cff | 12 | <label i18n>URL</label> |
f35546da | 13 | <div class="input-group input-group-sm"> |
c7e1e432 JL |
14 | <input #urlInput (click)="urlInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getVideoUrl()" /> |
15 | <div class="input-group-btn" placement="bottom right"> | |
16 | <button [ngxClipboard]="urlInput" (click)="activateCopiedMessage()" type="button" class="btn btn-default btn-search"> | |
17 | <span class="glyphicon glyphicon-copy"></span> | |
18 | </button> | |
19 | </div> | |
20 | </div> | |
cf02fbfb C |
21 | </div> |
22 | ||
23 | <div class="form-group"> | |
b1d40cff | 24 | <label i18n>Embed</label> |
f35546da | 25 | <div class="input-group input-group-sm"> |
c7e1e432 JL |
26 | <input #shareInput (click)="shareInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getVideoIframeCode()" /> |
27 | <div class="input-group-btn" placement="bottom right"> | |
28 | <button [ngxClipboard]="shareInput" (click)="activateCopiedMessage()" type="button" class="btn btn-default btn-search"> | |
29 | <span class="glyphicon glyphicon-copy"></span> | |
30 | </button> | |
31 | </div> | |
32 | </div> | |
cf02fbfb | 33 | </div> |
2c8d4697 | 34 | |
b1d40cff | 35 | <div i18n *ngIf="notSecure()" class="alert alert-warning"> |
2c8d4697 C |
36 | 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). |
37 | </div> | |
5f0805d3 | 38 | |
4503cb2a D |
39 | <div class="form-group qr-code-group"> |
40 | <label i18n>QR-Code</label> | |
41 | <ngx-qrcode qrc-element-type="url" [qrc-value]="getVideoUrl()" qrc-errorCorrectionLevel="Q"></ngx-qrcode> | |
42 | </div> | |
43 | ||
5f0805d3 | 44 | <div class="form-group inputs"> |
b1d40cff | 45 | <span i18n class="action-button action-button-cancel" (click)="hide()"> |
5f0805d3 C |
46 | Cancel |
47 | </span> | |
48 | </div> | |
cf02fbfb C |
49 | </div> |
50 | </div> | |
51 | </div> | |
52 | </div> |