Skip to content
This repository has been archived by the owner on Jun 29, 2018. It is now read-only.

Commit

Permalink
Fix Bug 1005106 - JWPlayer buffered data functions in IE8
Browse files Browse the repository at this point in the history
  • Loading branch information
mjschranz committed May 5, 2014
1 parent 8a40e8b commit 5490f72
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
13 changes: 3 additions & 10 deletions wrappers/jwplayer/popcorn.HTMLJWPlayerVideoElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
if ( !jwLoaded ) {
if ( !window.jwplayer ) {
var tag = document.createElement( "script" );

tag.src = "https://jwpsrv.com/library/zaIF4JI9EeK2FSIACpYGxA.js";
var firstScriptTag = document.getElementsByTagName( "script" )[ 0 ];
firstScriptTag.parentNode.insertBefore( tag, firstScriptTag );
Expand Down Expand Up @@ -532,17 +532,10 @@

//throw fake DOMException/INDEX_SIZE_ERR
throw "INDEX_SIZE_ERR: DOM Exception 1";
}
},
length: 1
};

Object.defineProperties( timeRanges, {
length: {
get: function() {
return 1;
}
}
});

return timeRanges;
}
}
Expand Down
11 changes: 2 additions & 9 deletions wrappers/youtube/popcorn.HTMLYouTubeVideoElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -734,17 +734,10 @@

//throw fake DOMException/INDEX_SIZE_ERR
throw "INDEX_SIZE_ERR: DOM Exception 1";
}
},
length: 1
};

Object.defineProperties( timeRanges, {
length: {
get: function() {
return 1;
}
}
});

return timeRanges;
},
configurable: true
Expand Down

0 comments on commit 5490f72

Please sign in to comment.