]>
Commit | Line | Data |
---|---|---|
0f7407d9 | 1 | <div class="other-videos" [ngClass]="{ 'display-as-row': displayAsRow }"> |
45863288 | 2 | <ng-container *ngIf="hasVideos$ | async"> |
5def76eb | 3 | <div class="title-page-container"> |
c4a05171 C |
4 | <h2 i18n class="title-page">Other videos</h2> |
5 | ||
5def76eb RK |
6 | <div *ngIf="!playlist" class="title-page-autoplay" |
7 | [ngbTooltip]="autoPlayNextVideoTooltip" placement="bottom-right auto" | |
8 | > | |
14571f19 | 9 | <span i18n>AUTOPLAY</span> |
4f926722 | 10 | <my-input-switch class="small" [(ngModel)]="autoPlayNextVideo" (ngModelChange)="switchAutoPlayNextVideo()"></my-input-switch> |
d816f3a0 | 11 | </div> |
7f5f4152 BJ |
12 | </div> |
13 | ||
46788f21 | 14 | <ng-container *ngFor="let video of (videos$ | async); let i = index; let length = count"> |
db581cf7 | 15 | <span i18n *ngIf="!playlist && i === 0 && length !== 0 && autoPlayNextVideo" class="title-page-next-video-label">Next video to be played</span> |
5c20a455 | 16 | <my-video-miniature |
0f7407d9 | 17 | [displayOptions]="displayOptions" [video]="video" [user]="userMiniature" [displayAsRow]="displayAsRow" |
06ec4bdd C |
18 | (videoBlocked)="onVideoRemoved()" (videoRemoved)="onVideoRemoved()" (videoAccountMuted)="onVideoRemoved()" |
19 | actorImageSize="32" | |
20 | > | |
45863288 | 21 | </my-video-miniature> |
5c20a455 | 22 | |
db581cf7 | 23 | <hr *ngIf="!playlist && i === 0 && length > 1 && autoPlayNextVideo" /> |
46788f21 | 24 | </ng-container> |
45863288 | 25 | </ng-container> |
7f5f4152 | 26 | </div> |