Mp3 audio works in all browsers, but not in IE9

I have three mp3 audio files that play perfectly in all browsers but only play in 1.1 seconds in IE9 unless I change the “controls” to “auto play”, in which case it plays just fine.

Then I sent the original, unedited .wav file. I myself encoded it in mp3, but had the same problem.

However, if I create my own mp3 file and paste it into the same markup, it works in all browsers, including IE9 with the "controls" attribute.

I can only think that there is something in the settings of the original audio file that may cause the problem, but have no idea what it could be.

Here is the test markup:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title> 
</head>
<body>
<audio src="poem.mp3" controls >
</body>
</html>

EDIT:

. , . , .

+3
4

EDIT: . IE9, .

, , , .

, mp3 IE9, , , IE9, , . , - preload="auto", IE9.

. IE9, .

+2

- , <audio> mp3.

<audio controls="controls" preload="auto">
<source src="http://www.davehullthehullabalooer.com/help(5).mp4" type="audio/mp4"/>
<source src="http://www.davehullthehullabalooer.com/help.ogv" type="audio/ogv"/>
<source src="http://www.davehullthehullabalooer.com/help.webm" type="audio/webm"/>
<source src="http://davehullthehullabalooer.com/add-for-beatles-page-188.mp3" type="audio/mp3"/>
</audio>

IE9: a > "" > "", " -"

!

+3

, IE9, , IE9 . , , "", , "" "none" . . http://helephant.com/2011/12/29/the-html5-audio-tag/: " , , , , ".

+2

In the same problem, audio files will only play in the first second when preload is set to metadata in IE9. Turns out my API was gzip compressing all the answers, and IE9 ran into a problem. After removing the gzip / deflate compression from the audio and video files, IE9 was fine.

0
source

All Articles