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">
9 <div *
ngIf=
"currentVideoTimestampString" class=
"start-at">
11 inputName=
"startAt" [(ngModel)]=
"startAtCheckbox"
12 i18n-labelText [labelText]=
"getStartCheckboxLabel()"
13 ></my-peertube-checkbox>
16 <div class=
"form-group">
17 <label i18n
>URL
</label>
18 <div class=
"input-group input-group-sm">
19 <input #urlInput (click)=
"urlInput.select()" type=
"text" class=
"form-control input-sm readonly" readonly [value]=
"getVideoUrl()" />
20 <div class=
"input-group-append">
21 <button [ngxClipboard]=
"urlInput" (click)=
"activateCopiedMessage()" type=
"button" class=
"btn btn-outline-secondary">
22 <span class=
"glyphicon glyphicon-copy"></span>
28 <div class=
"form-group qr-code-group">
29 <label i18n
>QR-Code
</label>
30 <ngx-qrcode qrc-element-type=
"url" [qrc-value]=
"getVideoUrl()" qrc-errorCorrectionLevel=
"Q"></ngx-qrcode>
33 <div class=
"form-group">
34 <label i18n
>Embed
</label>
35 <div class=
"input-group input-group-sm">
36 <input #shareInput (click)=
"shareInput.select()" type=
"text" class=
"form-control input-sm readonly" readonly [value]=
"getVideoIframeCode()" />
37 <div class=
"input-group-append">
38 <button [ngxClipboard]=
"shareInput" (click)=
"activateCopiedMessage()" type=
"button" class=
"btn btn-outline-secondary">
39 <span class=
"glyphicon glyphicon-copy"></span>
45 <div i18n *
ngIf=
"notSecure()" class=
"alert alert-warning">
46 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).
50 <div class=
"modal-footer inputs">
51 <span i18n
class=
"action-button action-button-cancel" (click)=
"hide()">Close
</span>