0

使用 html 5 音频标签似乎可以通过 android 浏览器播放 mp3。是否可以使用wav文件来做到这一点?如果不通过音频标签,还有其他方法吗?

4

2 回答 2

0

android 2.2 版的原生浏览器支持“.wav”文件。但android 4.0 的原生浏览器不支持“.wav”文件。

于 2013-01-24T12:34:47.080 回答
0

The HTML5 <audio> tag supports WAV files. Depending on your version of Android, though, it might not work in the native browser. For example, no format worked in Android 2.2. I tried it on my own phone, the Galaxy Nexus with Jelly Bean using the excellent test on Are We Playing Yet?, and found that it was not supported.

The other way to do it is to transcode your WAV file to a different format and use HTML5 audio. The Flash based WavPlayer might work too, but please remember that Flash was discontinued for Android and is not guaranteed to be installed on all devices.

于 2013-01-04T21:05:36.270 回答