]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/video/video-thumbnail.component.html
Add internal privacy mode
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / video-thumbnail.component.html
1 <a
2 [routerLink]="getVideoRouterLink()" [queryParams]="queryParams" [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-duration-overlay">{{ video.durationLabel }}</div>
8
9 <div class="play-overlay">
10 <div class="icon"></div>
11 </div>
12
13 <div class="progress-bar" *ngIf="video.userHistory?.currentTime">
14 <div [ngStyle]="{ 'width.%': getProgressPercent() }"></div>
15 </div>
16 </a>