diff --git a/assets/js/player.js b/assets/js/player.js index 9d99e3c7..61753734 100644 --- a/assets/js/player.js +++ b/assets/js/player.js @@ -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 () {