aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/video/video-miniature.component.html
blob: 3010e5ccc2864047c1122d56e3c1f2bd4788ca44 (plain) (tree)
1
2
3
4
5
6
7
8
9
                             
                                                                                  
 
                                           



                                                                                                                           
                      
        
 
                                                                                                                                                
                                                                                                  

        
<div class="video-miniature">
  <my-video-thumbnail [video]="video" [nsfw]="isVideoBlur()"></my-video-thumbnail>

  <div class="video-miniature-information">
    <a
      class="video-miniature-name"
      [routerLink]="[ '/videos/watch', video.uuid ]" [attr.title]="video.name" [ngClass]="{ 'blur-filter': isVideoBlur() }"
    >
      {{ video.name }}
    </a>

    <span i18n class="video-miniature-created-at-views">{{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
    <a class="video-miniature-account" [routerLink]="[ '/accounts', video.by ]">{{ video.by }}</a>
  </div>
</div>