aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video/video-thumbnail.component.html
blob: 5c698e8f62e47884beb6c1e8a5c5225f03d1316e (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 [attr.src]="video.thumbnailUrl" alt="video thumbnail" [ngClass]="{ 'blur-filter': nsfw }" />

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