mirror of
https://github.com/videojs/video.js.git
synced 2025-02-02 11:34:50 +02:00
Fixed canPlayType patch tests on Android
This commit is contained in:
parent
2079af7320
commit
88403221a9
@ -45,6 +45,9 @@ test('patchCanPlayType and unpatchCanPlayType are available on Html5 object', fu
|
||||
});
|
||||
|
||||
test('patchCanPlayType patches canplaytype with our function, conditionally', function() {
|
||||
// the patch runs automatically so we need to first unpatch
|
||||
vjs.Html5.unpatchCanPlayType();
|
||||
|
||||
var oldAV = vjs.ANDROID_VERSION,
|
||||
video = document.createElement('video'),
|
||||
canPlayType = vjs.TEST_VID.constructor.prototype.canPlayType,
|
||||
|
Loading…
x
Reference in New Issue
Block a user