1 <div bsModal #
modal=
"bs-modal" class=
"modal" tabindex=
"-1">
2 <div class=
"modal-dialog modal-lg">
3 <div class=
"modal-content">
5 <div class=
"modal-header">
6 <button type=
"button" class=
"close" aria-label=
"Close" (click)=
"hide()">
7 <span aria-hidden=
"true">×</span>
9 <h4 class=
"title-page title-page-single">Share
</h4>
12 <div class=
"modal-body">
13 <div class=
"form-group">
15 <div class=
"input-group input-group-sm">
16 <input #urlInput (click)=
"urlInput.select()" type=
"text" class=
"form-control input-sm readonly" readonly [value]=
"getVideoUrl()" />
17 <div class=
"input-group-btn" placement=
"bottom right">
18 <button [ngxClipboard]=
"urlInput" (click)=
"activateCopiedMessage()" type=
"button" class=
"btn btn-default btn-search">
19 <span class=
"glyphicon glyphicon-copy"></span>
25 <div class=
"form-group">
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-btn" placement=
"bottom right">
30 <button [ngxClipboard]=
"shareInput" (click)=
"activateCopiedMessage()" type=
"button" class=
"btn btn-default btn-search">
31 <span class=
"glyphicon glyphicon-copy"></span>
37 <div *
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).