<div class="row">
<!-- We need the video container for videojs so we just hide it -->
<div [hidden]="videoNotFound" id="video-container">
- <video id="video-element" class="video-js vjs-peertube-skin vjs-fluid"></video>
+ <video id="video-element" class="video-js vjs-peertube-skin"></video>
</div>
<div *ngIf="videoNotFound" id="video-not-found">Video not found :'(</div>
<span class="icon icon-blacklist"></span> Blacklist
</a>
</li>
+
+ <li *ngIf="isVideoRemovable()" role="menuitem">
+ <a class="dropdown-item" title="Delete this video" href="#" (click)="removeVideo($event)">
+ <span class="icon icon-blacklist"></span> Delete
+ </a>
+ </li>
</ul>
</div>
</div>
{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views
</div>
- <div *ngIf="video.likes !== 0 || video.dislikes !== 0" class="video-info-likes-dislikes-bar">
+ <div
+ class="video-info-likes-dislikes-bar"
+ *ngIf="video.likes !== 0 || video.dislikes !== 0" [tooltip]="likesBarTooltipText">
<div class="likes-bar" [ngStyle]="{ 'width.%': video.likesPercent }"></div>
</div>
</div>