]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/video/video-thumbnail.component.html
d256669165b09778baf7a96196ba7c047f627c0a
[github/Chocobozzz/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>