mp3 audio works in all browsers but not IE9

前端 未结 4 1318
既然无缘
既然无缘 2021-01-21 03:51

I have three mp3 audio files that play fine in all browsers but play for only 1.x seconds in IE9 unless I change \"controls\" to \"autoplay\" in which case it plays just fine. <

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-21 04:18

    Ran into the same problem, audio files would only play first second when preload is set to metadata on IE9. Turns out that my API was gzip compressing all responses and IE9 was having trouble dealing with it. After removing gzip/deflate compression from audio and video files, IE9 was fine with it.

提交回复
热议问题