mirror of
https://github.com/videojs/video.js.git
synced 2025-01-06 06:50:51 +02:00
return the patched function from unpatchCanPlayType
This commit is contained in:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user