new Audio() not Implemented in Internet explorer

前端 未结 2 2021
甜味超标
甜味超标 2021-01-12 19:23

I am trying to play an array of mp3 sound. I have an audio file in my html and get it using document.CreateElement() in my JavaScript.

When I try to set

2条回答
  •  时光取名叫无心
    2021-01-12 20:11

    HTML5 Audio not playing in IE (recent versions)?

    It could be a compatibility view issue (quirks mode)

    • is your site on the compatibility view list in IE?
    • or is your page embedded in an iframe?

    It could be caused by running IE on a server

    • IE server versions don't support audio/video (enhanced protected mode)

    It could be caused by running IE on a Windows 8.1 Enterprise version such as "8.1 N".

    • The fix for this would be installing the Media Feature Pack for N and KN versions of Windows 8.1

    Also you can go to html5test.com and look in the audio section at the "MP3 support".

提交回复
热议问题