2016-11-20 15:09:38 +00:00
|
|
|
<div bsModal #modal="bs-modal" class="modal" tabindex="-1">
|
|
|
|
<div class="modal-dialog modal-lg">
|
|
|
|
<div class="modal-content">
|
|
|
|
|
|
|
|
<div class="modal-header">
|
2017-01-13 11:16:00 +00:00
|
|
|
<button type="button" class="close" aria-label="Close" (click)="hide()">
|
2016-11-20 15:09:38 +00:00
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
2017-12-07 09:27:33 +00:00
|
|
|
<h4 class="title-page title-page-single">Share</h4>
|
2016-11-20 15:09:38 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<label>URL</label>
|
2017-12-11 17:08:40 +00:00
|
|
|
<div class="input-group input-group-sm">
|
2017-12-11 16:59:39 +00:00
|
|
|
<input #urlInput (click)="urlInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getVideoUrl()" />
|
|
|
|
<div class="input-group-btn" placement="bottom right">
|
|
|
|
<button [ngxClipboard]="urlInput" (click)="activateCopiedMessage()" type="button" class="btn btn-default btn-search">
|
|
|
|
<span class="glyphicon glyphicon-copy"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-20 15:09:38 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Embed</label>
|
2017-12-11 17:08:40 +00:00
|
|
|
<div class="input-group input-group-sm">
|
2017-12-11 16:59:39 +00:00
|
|
|
<input #shareInput (click)="shareInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getVideoIframeCode()" />
|
|
|
|
<div class="input-group-btn" placement="bottom right">
|
|
|
|
<button [ngxClipboard]="shareInput" (click)="activateCopiedMessage()" type="button" class="btn btn-default btn-search">
|
|
|
|
<span class="glyphicon glyphicon-copy"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-20 15:09:38 +00:00
|
|
|
</div>
|
2016-11-20 15:13:42 +00:00
|
|
|
|
|
|
|
<div *ngIf="notSecure()" class="alert alert-warning">
|
|
|
|
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).
|
|
|
|
</div>
|
2016-11-20 15:09:38 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|