Kiren S
Kiren S

Reputation: 3107

Error: Audio playback was aborted IE 11 Windows 7

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

Answers (1)

Praveen N
Praveen N

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.

Prompt for activex

After Enabling blocked content

Upvotes: 2

Related Questions