Reputation: 3107
I have folder structure like
Folder interactive_pages_test
C:\Users\username\Desktop\interactive_pages_test\test.html
C:\Users\username\Desktop\interactive_pages_test\2_Hot_Cross_Buns.mp3
Folder test
C:\Users\username\Desktop\test\test.html
C:\Users\username\Desktop\test\2_Hot_Cross_Buns.mp3
The files test.html
and 2_Hot_Cross_Buns.mp3
are same. When I opened C:\Users\username\Desktop\interactive_pages_test\test.html
in IE 11 it is throwing anError: Audio playback was aborted
. But C:\Users\username\Desktop\test\test.html
is playing fine in IE. In chrome and Mozilla both of the files are playing fine. Can any one please advice on this issue?
<html>
<head>
<title>Tile</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" >
alert("hi");
</script>
</head>
<body>
<audio src="./2_Hot_Cross_Buns.mp3" controls="">Audio not supported</audio>
</body>
</html>
Upvotes: 1
Views: 1565
Reputation: 137
Actually IE's in Windows 8 are above uses activeX control for playing audios, so when you the html file it prompts that ActiveX control is blocked, if you click on allow blocked content then it will play normally.
After Enabling blocked content
Upvotes: 2