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:
parent
fef6282d55
commit
75bd76f55c
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user