aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/recommendations/recommended-videos.component.html
blob: 5f223078acd646f5cb2384cb65f8ca473df81b2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div class="other-videos">
  <ng-container *ngIf="hasVideos$ | async">
    <div class="d-flex title-page-container">
      <div i18n class="title-page title-page-single">
        Other videos
      </div>
      <div class="d-flex title-page-autoplay">
        <span>Autoplay</span>
        <p-inputSwitch [(ngModel)]="autoPlayNextVideo" (ngModelChange)="switchAutoPlayNextVideo()"></p-inputSwitch>
      </div>
    </div>

    <div *ngFor="let video of (videos$ | async)">
      <my-video-miniature [video]="video" [user]="user" (videoBlacklisted)="onVideoRemoved()" (videoRemoved)="onVideoRemoved()">
      </my-video-miniature>
    </div>
  </ng-container>
</div>