diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-10 23:15:09 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-12-13 09:13:43 +0100 |
commit | d816f3a063febac1cad09ab3a32e5f0d29353627 (patch) | |
tree | 2c74b4f3503bd5fe58c2761804fa3c0aa68ae957 /client/src/app/videos/recommendations/recommended-videos.component.html | |
parent | 2f6b5e2d6ebcac88d9005ea2654ffa77907d5db2 (diff) | |
download | PeerTube-d816f3a063febac1cad09ab3a32e5f0d29353627.tar.gz PeerTube-d816f3a063febac1cad09ab3a32e5f0d29353627.tar.zst PeerTube-d816f3a063febac1cad09ab3a32e5f0d29353627.zip |
autoplay next video switch for both user and visitors
Diffstat (limited to 'client/src/app/videos/recommendations/recommended-videos.component.html')
-rw-r--r-- | client/src/app/videos/recommendations/recommended-videos.component.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/client/src/app/videos/recommendations/recommended-videos.component.html b/client/src/app/videos/recommendations/recommended-videos.component.html index 5b5951f99..5f223078a 100644 --- a/client/src/app/videos/recommendations/recommended-videos.component.html +++ b/client/src/app/videos/recommendations/recommended-videos.component.html | |||
@@ -1,7 +1,13 @@ | |||
1 | <div class="other-videos"> | 1 | <div class="other-videos"> |
2 | <ng-container *ngIf="hasVideos$ | async"> | 2 | <ng-container *ngIf="hasVideos$ | async"> |
3 | <div i18n class="title-page title-page-single"> | 3 | <div class="d-flex title-page-container"> |
4 | Other videos | 4 | <div i18n class="title-page title-page-single"> |
5 | Other videos | ||
6 | </div> | ||
7 | <div class="d-flex title-page-autoplay"> | ||
8 | <span>Autoplay</span> | ||
9 | <p-inputSwitch [(ngModel)]="autoPlayNextVideo" (ngModelChange)="switchAutoPlayNextVideo()"></p-inputSwitch> | ||
10 | </div> | ||
5 | </div> | 11 | </div> |
6 | 12 | ||
7 | <div *ngFor="let video of (videos$ | async)"> | 13 | <div *ngFor="let video of (videos$ | async)"> |