aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/video/video-thumbnail.component.html
blob: 6935ed9485a1f332b7a8e072b58c7e6eca1ad470 (plain) (tree)
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.alt]="video.name" [attr.aria-labelledby]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" />

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