Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE11: unload() for html5 audio initiates a new request + results in console error. #510

Closed
aroth opened this issue Apr 22, 2016 · 1 comment
Milestone

Comments

@aroth
Copy link

aroth commented Apr 22, 2016

IE11 on Windows 7

Calling unload() on a Howl object created with html5: true is causing IE to make a new request to / which often results in the error:

MEDIA12899: AUDIO/VIDEO: Unknown MIME type.

This error is due to the fact that IE has associated a media content type with sounds[i]._node and the content returned from the new request is coming back as text/html.

The new request is triggered by this line in #unload:

sounds[i]._node.src = '';

Is it necessary to set src to an empty string? And if so -- can it be done in a way that doesn't result in a new request?

See the image below for a full walk through:

screen shot 2016-04-22 at 2 22 27 pm

@goldfire goldfire added this to the 2.0 milestone Apr 22, 2016
@goldfire
Copy link
Owner

Thanks, 745a726 should fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants