0

Using the html 5 audio tag it appears it is possible to play back an mp3 through the android browser. Is it possible to do it using a wav file? If not through the audio tag is there another way to do it?

Laurel
  • 5,965
  • 14
  • 31
  • 57
SamFisher83
  • 3,937
  • 9
  • 39
  • 52

2 Answers2

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.

Fredrick Brennan
  • 7,079
  • 2
  • 30
  • 61
0

android version 2.2's native browser supports ".wav" file. but android 4.0's native browser does not support ".wav" file.

Shibin Francis
  • 482
  • 6
  • 18
  • Not true I tried on the HTC sensation Ice Cream Sandwich and it worked fine. I think it might be your brands browser. – SamFisher83 Jan 25 '13 at 00:35
  • i am using Galaxy s2. we can't open .wav file in itz native browser. I think the native browser is not supporting HTML5. it might be device browser issue, because when i opened the same page with chrome browser, it worked with out any issue. – Shibin Francis Jan 25 '13 at 07:28