a55fc47b by David LaPalomento

Merge pull request #108 from bparadie/fixes-102

Fixes issue 102
2 parents c04806c1 854ebd13
...@@ -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 }
......