IE10 and HTML5 audio
-
29-04-2021 - |
Pergunta
I have a HTML5 audio / JS based sample player which works fine in Chrome and Firefox, but not in IE10 (latest one in Win8 dev preview).
Now I have 2 issues:
a) upon rewinding a currently playing sample using
samples[event.b].pause();
samples[event.b].currentTime = 0;
IE10 gives me
SCRIPT5022: DOM Exception: INVALID_STATE_ERR (11)
on the line setting currentTime. What is that supposed to mean?
b) It dislikes WAV samples (won't play anything) .. just can't believe MS doesnt support WAV. Can anyone confirm?
Solução
I don't have an IE10 installed, so i can't check myseld. But here is a file format test page to test which formats are supported:
Outras dicas
As long as you have implemented the tag properly and if your server supports Specific audio mime type, IE 10 should just work fine without any problem. IE 10 also checks for audio Hardware.
Currently IE Supported Audio Formats are: MP3 and MP4
Please see the output, on hardware check