Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

(fix) upnext timeout set to 10s

Rigel Kentddefb8c9e598
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 50854c5924..8cc1e8b58b 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,