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) {
} else {
// polyfill XHR2 by aborting after the timeout
abortTimeout = window.setTimeout(function() {
if (request.readystate !== 4) {
if (request.readyState !== 4) {
request.timedout = true;
request.abort();
}
......