Merge branch 'master' into develop
[oweals/peertube.git] / client / src / app / shared / video / video-thumbnail.component.html
1 <a
2   [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name"
3   class="video-thumbnail"
4 >
5   <img alt="" [attr.aria-labelledby]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" />
6
7   <div class="video-thumbnail-overlay">{{ video.durationLabel }}</div>
8
9   <div class="progress-bar" *ngIf="video.userHistory?.currentTime">
10     <div [ngStyle]="{ 'width.%': getProgressPercent() }"></div>
11   </div>
12 </a>