1 <ng-template #modal
let-hide=
"close">
2 <div class=
"modal-header">
3 <h4 i18n
class=
"modal-title">Share
</h4>
4 <my-global-icon iconName=
"cross" aria-label=
"Close" role=
"button" (click)=
"hide()"></my-global-icon>
7 <div class=
"modal-body">
11 inputName=
"startAt" [(ngModel)]=
"startAtCheckbox"
12 i18n-labelText
labelText=
"Start at"
13 ></my-peertube-checkbox>
16 [timestamp]=
"currentVideoTimestamp"
17 [maxTimestamp]=
"video.duration"
18 [disabled]=
"!startAtCheckbox"
19 [(ngModel)]=
"currentVideoTimestamp"
24 <div class=
"form-group">
25 <label i18n
>URL
</label>
26 <div class=
"input-group input-group-sm">
27 <input #urlInput (click)=
"urlInput.select()" type=
"text" class=
"form-control input-sm readonly" readonly [value]=
"getVideoUrl()" />
28 <div class=
"input-group-append">
29 <button [ngxClipboard]=
"urlInput" (click)=
"activateCopiedMessage()" type=
"button" class=
"btn btn-outline-secondary">
30 <span class=
"glyphicon glyphicon-copy"></span>
36 <div class=
"form-group qr-code-group">
37 <label i18n
>QR-Code
</label>
38 <ngx-qrcode qrc-element-type=
"url" [qrc-value]=
"getVideoUrl()" qrc-errorCorrectionLevel=
"Q"></ngx-qrcode>
41 <div class=
"form-group">
42 <label i18n
>Embed
</label>
43 <div class=
"input-group input-group-sm">
44 <input #shareInput (click)=
"shareInput.select()" type=
"text" class=
"form-control input-sm readonly" readonly [value]=
"getVideoIframeCode()" />
45 <div class=
"input-group-append">
46 <button [ngxClipboard]=
"shareInput" (click)=
"activateCopiedMessage()" type=
"button" class=
"btn btn-outline-secondary">
47 <span class=
"glyphicon glyphicon-copy"></span>
53 <div i18n *
ngIf=
"notSecure()" class=
"alert alert-warning">
54 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).
58 <div class=
"modal-footer inputs">
59 <span i18n
class=
"action-button action-button-cancel" (click)=
"hide()">Close
</span>