diff options
-rw-r--r-- | youtube/static/js/av-merge.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube/static/js/av-merge.js b/youtube/static/js/av-merge.js index 3226244..e00f440 100644 --- a/youtube/static/js/av-merge.js +++ b/youtube/static/js/av-merge.js @@ -569,7 +569,8 @@ function fetchRange(url, start, end, debugInfo) { onFailure(e, 'Network error'); }; xhr.ontimeout = function (event){ - onFailure(null, 'Timeout (15s)', maxRetries=1); + xhr.timeout += 5000; + onFailure(null, 'Timeout (15s)', maxRetries=5); }; xhr.send(); }); |