]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/+video-watch/modal/video-share.component.html
i18n "More" in menu and regenerate translations
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / modal / video-share.component.html
CommitLineData
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
C
38
39 <div class="form-group inputs">
b1d40cff 40 <span i18n class="action-button action-button-cancel" (click)="hide()">
5f0805d3
C
41 Cancel
42 </span>
43 </div>
cf02fbfb
C
44 </div>
45 </div>
46 </div>
47</div>