aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/shared-tables/video-cell.component.html
blob: ea432b70e9bd8913f7acb83941283b3e832f1351 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                                                  
                                                                                                


          
<a [href]="getVideoUrl()" class="table-video-link" [title]="video.name" target="_blank" rel="noopener noreferrer">
  <div class="table-video">
    <div class="table-video-image">
      <img [src]="video.thumbnailPath">

      <ng-content select="[image]"></ng-content>
    </div>

    <div class="table-video-text">
      <div>
        <ng-content select="[name]"></ng-content>

        {{ video.name }}
      </div>

      <div class="muted">by {{ video.channel?.displayName }} on {{ video.channel?.host }} </div>
    </div>
  </div>
</a>