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>
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>
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>
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>
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).
42 <div *
ngIf=
"currentVideoTimestampString" class=
"start-at">
44 inputName=
"startAt" [(ngModel)]=
"startAtCheckbox"
45 i18n-labelText [labelText]=
"getStartCheckboxLabel()"
46 ></my-peertube-checkbox>
49 <div class=
"modal-footer inputs">
50 <span i18n
class=
"action-button action-button-cancel" (click)=
"hide()">Close
</span>