diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-19 21:34:45 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-19 21:34:45 +0100 |
commit | 1dc240a9488c66ad38205d08fcfdb32d35efceaa (patch) | |
tree | f97f41e367c52eaf55568f0d0cabf5c8444b86a4 /client/src/app | |
parent | c5c09c1e5017844027ef77785f2d0406fa6b7039 (diff) | |
download | PeerTube-1dc240a9488c66ad38205d08fcfdb32d35efceaa.tar.gz PeerTube-1dc240a9488c66ad38205d08fcfdb32d35efceaa.tar.zst PeerTube-1dc240a9488c66ad38205d08fcfdb32d35efceaa.zip |
Add next video button to the player
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index 134af751d..bad0144bf 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -642,6 +642,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
642 | const options: PeertubePlayerManagerOptions = { | 642 | const options: PeertubePlayerManagerOptions = { |
643 | common: { | 643 | common: { |
644 | autoplay: this.isAutoplay(), | 644 | autoplay: this.isAutoplay(), |
645 | nextVideo: () => this.zone.run(() => this.autoplayNext()), | ||
645 | 646 | ||
646 | playerElement: this.playerElement, | 647 | playerElement: this.playerElement, |
647 | onPlayerElementChange: (element: HTMLVideoElement) => this.playerElement = element, | 648 | onPlayerElementChange: (element: HTMLVideoElement) => this.playerElement = element, |