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">
21 <label i18n
>Embed
</label>
22 <div class=
"input-group input-group-sm">
23 <input #shareInput (click)=
"shareInput.select()" type=
"text" class=
"form-control input-sm readonly" readonly [value]=
"getVideoIframeCode()" />
24 <div class=
"input-group-append">
25 <button [ngxClipboard]=
"shareInput" (click)=
"activateCopiedMessage()" type=
"button" class=
"btn btn-outline-secondary">
26 <span class=
"glyphicon glyphicon-copy"></span>
32 <div i18n *
ngIf=
"notSecure()" class=
"alert alert-warning">
33 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).
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>
42 <div class=
"modal-footer inputs">
43 <span i18n
class=
"action-button action-button-cancel" (click)=
"hide()">Cancel
</span>