Embed: on android <7, let videojs override native hls playback

This commit is contained in:
Cat 2020-01-23 12:50:44 +01:00 committed by Thulinma
parent b5fcc4647c
commit 01b957d136
6 changed files with 28 additions and 4 deletions

View file

@ -998,5 +998,9 @@ var MistUtil = {
return "firefox";
}
return false; //unknown
},
getAndroid: function(){
var match = navigator.userAgent.toLowerCase().match(/android\s([\d\.]*)/i);
return match ? match[1] : false;
}
};