854ebd13 by Bernd Paradies

Fixes issue 102

1 parent 589e8dc4
...@@ -721,7 +721,7 @@ xhr = videojs.Hls.xhr = function(url, callback) { ...@@ -721,7 +721,7 @@ xhr = videojs.Hls.xhr = function(url, callback) {
721 } else { 721 } else {
722 // polyfill XHR2 by aborting after the timeout 722 // polyfill XHR2 by aborting after the timeout
723 abortTimeout = window.setTimeout(function() { 723 abortTimeout = window.setTimeout(function() {
724 if (request.readystate !== 4) { 724 if (request.readyState !== 4) {
725 request.timedout = true; 725 request.timedout = true;
726 request.abort(); 726 request.abort();
727 } 727 }
......