Firefox Won't Play .wav Files Using The Html5
I'm building a page that will allow a user to upload an MP3 file. That MP3 file is converted in the back end to a .WAV file using LAME. The lame execution script is here: LAME --r
Solution 1:
What's the bit depth on your WAV files? Firefox supports 8-bit and 16-bit PCM, but not other bit depths (12, 20, 24, 32).
Solution 2:
Firefox expects one of the following codecs to be returned as the MIME type:
- audio/wave (preferred)
- audio/wav
- audio/x-wav
- audio/x-pn-wav
Make sure your server returns one of those MIME types for wav files.
Solution 3:
In addition to the bit depth issue, Firefox HTML5 audio apparently does not play back 6-channel audio, either. For my app, I needed to re-rip to change both bit depth and number of channels (e.g. sox inFile-b 16 -c 2outFileotherParams).
Solution 4:
This is bug in Firefox - you need to list the MP3 format source to the end, and it will work.
Post a Comment for "Firefox Won't Play .wav Files Using The Html5