aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts1
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,