Open
Description
Recently, I am using SoundJS to create a game and need to support Android 4.1.2
However, I found that although Android 4.1.2 Android Browser can play mp3
, WebAudioPlugin
give it a false
mainly because
the current checking method is aimed for latest window.AudioContext
and the canPlayType
is also different in 4.1.2, it is audio/mpeg
instead of audio/mp3
nowadays so it does not give a true
when checking mp3
.
I wonder if it is a good idea to add window.audio
in the checking and add mp3: 'mpeg'
in the EXTENSION_MAP
for a compatibility purpose?
updated notes:
I found that only add mp3: 'mpeg'
that the HTMLAudioPlugin can support to play mp3 in Android 4.1.2