v3.1.0-beta.1

This commit is contained in:
Sam Potts
2018-04-02 22:52:02 +10:00
parent 3395e8df90
commit b1e3abc795
19 changed files with 847 additions and 1850 deletions

View File

@ -73,6 +73,11 @@ const support = {
return false;
}
// Check directly if codecs specified
if (type.includes('codecs=')) {
return media.canPlayType(type).replace(/no/, '');
}
// Type specific checks
if (this.isVideo) {
switch (type) {