aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/shared-tables/video-cell.component.html
blob: fb7d852ab8a60174344f195ac1b408ac69314f0b (plain) (tree)


















                                                                                                                  
<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="text-muted">by {{ video.channel?.displayName }} on {{ video.channel?.host }} </div>
    </div>
  </div>
</a>