From 472dd8663daf1556e5d25cf5cb16aa8371e1234a Mon Sep 17 00:00:00 2001 From: Fijxu Date: Tue, 1 Oct 2024 09:06:31 -0300 Subject: [PATCH] VideoJS: Increase buffer --- assets/js/player.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/player.js b/assets/js/player.js index 61753734..6a1b1ab2 100644 --- a/assets/js/player.js +++ b/assets/js/player.js @@ -51,8 +51,8 @@ videojs.Vhs.xhr.beforeRequest = function(options) { return options; }; -videojs.Vhs.GOAL_BUFFER_LENGTH = 20; -videojs.Vhs.MAX_GOAL_BUFFER_LENGTH = 30; +videojs.Vhs.GOAL_BUFFER_LENGTH = 40; +videojs.Vhs.MAX_GOAL_BUFFER_LENGTH = 80; var player = videojs('player', options);