Firefox won't play .WAV files using the HTML5 <audio> tag?

前端 未结 4 790
故里飘歌
故里飘歌 2020-12-06 07:11

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 i

4条回答
  •  日久生厌
    2020-12-06 07:56

    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.

提交回复
热议问题