mirror of
https://github.com/videojs/video.js.git
synced 2025-07-05 00:58:52 +02:00
return the patched function from unpatchCanPlayType
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user