<div class="alert alert-danger">
The video load seems to be abnormally long.
<ul>
- <li>Maybe the server {{ video.podUrl }} is down :(</li>
+ <li>Maybe the server {{ video.podHost }} is down :(</li>
<li>
If not, you can report an issue on
<a href="https://github.com/Chocobozzz/PeerTube/issues" title="Report an issue">
<div class="row">
<div class="col-md-12">
- <div class="embed-responsive embed-responsive-19by9">
- <my-loader [loading]="loading"></my-loader>
+ <!-- We need the video container for videojs so we just hide it -->
+ <div [hidden]="videoNotFound" class="embed-responsive embed-responsive-19by9">
+ <video id="video-container" class="video-js vjs-default-skin vjs-big-play-centered"></video>
</div>
+
+ <div *ngIf="videoNotFound" id="video-not-found">Video not found :'(</div>
</div>
</div>
</div>
<div id="video-actions" class="col-md-4 text-right">
- <button title="Get magnet URI" id="magnet-uri" class="btn btn-default">
+ <button id="share" class="btn btn-default" (click)="showShareModal()">
+ <span class="glyphicon glyphicon-share"></span> Share
+ </button>
+
+ <button title="Get magnet URI" id="magnet-uri" class="btn btn-default" (click)="showMagnetUriModal()">
<span class="glyphicon glyphicon-magnet"></span> Magnet
</button>
</div>
</div>
</div>
+<my-video-share #videoShareModal *ngIf="video !== null" [video]="video"></my-video-share>
+<my-video-magnet #videoMagnetModal *ngIf="video !== null" [video]="video"></my-video-magnet>