mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-06-28 01:48:26 +00:00
decrease buffer seconds for saving bandwidth
This commit is contained in:
parent
73ba53a327
commit
0c3e5baab0
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user