updated audio canPlay to match generated streams
This commit is contained in:
parent
e456813f91
commit
81dab5d906
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@
|
|||
var media = MediaPlayer.testableAudioElement;
|
||||
|
||||
if (media.canPlayType) {
|
||||
return media.canPlayType('audio/mpeg').replace(/no/, '') || media.canPlayType('audio/aac').replace(/no/, '');
|
||||
|
||||
return media.canPlayType('audio/mpeg').replace(/no/, '') || media.canPlayType('audio/webm').replace(/no/, '') || media.canPlayType('audio/aac').replace(/no/, '') || media.canPlayType('audio/ogg').replace(/no/, '');
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue