From: Rigel Kent <sendmemail@rigelk.eu>
Date: Tue, 17 Dec 2019 15:59:43 +0000 (+0100)
Subject: (fix) upnext timeout set to 10s
X-Git-Tag: v2.1.0-rc.1~190
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ddefb8c9e59802e9d553839fd404d34ff5c9a776;p=oweals%2Fpeertube.git

(fix) upnext timeout set to 10s
---

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 50854c592..8cc1e8b58 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -475,7 +475,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
        * define 'condition(next)' to return true to wait, false to stop
        */
       this.player.upnext({
-        timeout: 1000000,
+        timeout: 10000, // 10s
         headText: this.i18n('Up Next'),
         cancelText: this.i18n('Cancel'),
         getTitle: () => this.nextVideoTitle,