aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video/video-thumbnail.component.html
blob: c1d45ea182b93c13ab72036e2581e7f6651321c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
<a
  [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name"
  class="video-thumbnail"
>
<img alt="" [attr.aria-labelledby]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" />

<div class="video-thumbnail-overlay">
  {{ video.durationLabel }}
</div>
</a>