<!-- audio2.html -->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
jQuery(document).ready(function() {
function createAudio(url) {
var audio = document.createElement("audio");
audio.setAttribute('preload', 'auto');
audio.setAttribute('controls', 'controls');
audio.setAttribute('type', 'audio/mpeg');
if (audio != null && audio.canPlayType && audio.canPlayType("audio/mpeg")) {
audio.src = url;
}
document.body.appendChild(audio);
return audio;
}
var audio1 = createAudio("img/sound/beep.mp3");
var audio2 = createAudio("img/sound/beep2.mp3");
var audio3 = createAudio("img/sound/beep3.mp3");
var audio4 = createAudio("img/sound/beep4.mp3");
});
</script>
</body>
</html>
Result
With this examples we could reproduce the failure more often
In 20% the website is working normal.
In 10% the audio-players show Ungültige Quelle or Invalid Source.
In 70% the IE crashs.
Crash Dumps
Windows Event Log
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2015-03-05T15:39:00.000000000Z" />
<EventRecordID>9994</EventRecordID>
<Channel>Application</Channel>
<Computer>T02.ADL.local</Computer>
<Security />
</System>
<EventData>
<Data>IEXPLORE.EXE</Data>
<Data>11.0.9600.17416</Data>
<Data>5452eed9</Data>
<Data>ntdll.dll</Data>
<Data>6.3.9600.17630</Data>
<Data>54b0d74f</Data>
<Data>c0000005</Data>
<Data>000411d2</Data>
<Data>19d4</Data>
<Data>01d0575a7d7ee406</Data>
<Data>C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE</Data>
<Data>C:\Windows\SYSTEM32\ntdll.dll</Data>
<Data>bdb9a4d8-c34d-11e4-80e9-f246be8a9fe6</Data>
<Data />
<Data />
</EventData>
</Event>
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/tongxinshuyu/article-37181-2.html
恶狗理解草狗意
为什么呢