decrease buffer seconds for saving bandwidth
All checks were successful
Invidious CI / build (push) Successful in 7m43s

This commit is contained in:
Emilien Devos 2022-06-10 17:38:49 +02:00 committed by Fijxu
parent 73ba53a327
commit 0c3e5baab0
Signed by: Fijxu
GPG key ID: 32C1DDF333EDA6A4

View file

@ -51,6 +51,9 @@ videojs.Vhs.xhr.beforeRequest = function(options) {
return options;
};
videojs.Vhs.GOAL_BUFFER_LENGTH = 20;
videojs.Vhs.MAX_GOAL_BUFFER_LENGTH = 30;
var player = videojs('player', options);
player.on('error', function () {