1
0
mirror of https://github.com/videojs/video.js.git synced 2025-03-19 21:28:23 +02:00

return the patched function from unpatchCanPlayType

This commit is contained in:
Gary Katsevman 2014-03-26 14:58:20 -04:00
parent fef6282d55
commit 75bd76f55c

@ -303,7 +303,7 @@ vjs.Html5.canControlVolume = function(){
};
vjs.Html5.unpatchCanPlayType = function() {
var r = canPlayType;
var r = vjs.TEST_VID.constructor.prototype.canPlayType;
if (canPlayType) {
vjs.TEST_VID.constructor.prototype.canPlayType = canPlayType;
canPlayType = null;