<div class="row">
<!-- We need the video container for videojs so we just hide it -->
- <div [hidden]="videoNotFound" id="video-container">
- <video [poster]="getVideoPoster()" id="video-element" class="video-js vjs-peertube-skin"></video>
+ <div [hidden]="videoNotFound" id="video-element-wrapper">
</div>
<div *ngIf="videoNotFound" id="video-not-found">Video not found :'(</div>
<div class="video-info-name">{{ video.name }}</div>
<div class="video-info-date-views">
- {{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views
+ {{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views
</div>
<div class="video-info-channel">
</div>
<div class="video-info-by">
- By {{ video.by }}
- <img [src]="getAvatarPath()" alt="Account avatar" />
+ <a [routerLink]="[ '/account', video.account.id ]" title="Go the account page">
+ By {{ video.by }}
+ <img [src]="getAvatarPath()" alt="Account avatar" />
+ </a>
</div>
</div>