1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-21 11:02:08 +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

View File

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