From 75bd76f55c694c95d34adc9078fe32475ebb2a19 Mon Sep 17 00:00:00 2001 From: Gary Katsevman Date: Wed, 26 Mar 2014 14:58:20 -0400 Subject: [PATCH] return the patched function from unpatchCanPlayType --- src/js/media/html5.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/media/html5.js b/src/js/media/html5.js index 55e330919..1992df005 100644 --- a/src/js/media/html5.js +++ b/src/js/media/html5.js @@ -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;