]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video/video-thumbnail.component.html
Add popover autoclose
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / video-thumbnail.component.html
index 5c698e8f62e47884beb6c1e8a5c5225f03d1316e..c1d45ea182b93c13ab72036e2581e7f6651321c3 100644 (file)
@@ -1,8 +1,8 @@
 <a
   [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name"
-class="video-thumbnail"
+  class="video-thumbnail"
 >
-<img [attr.src]="video.thumbnailUrl" alt="video thumbnail" [ngClass]="{ 'blur-filter': nsfw }" />
+<img alt="" [attr.aria-labelledby]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" />
 
 <div class="video-thumbnail-overlay">
   {{ video.durationLabel }}