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

Question about the example. #4

Open
fcostarodrigo opened this issue Jul 13, 2016 · 1 comment
Open

Question about the example. #4

fcostarodrigo opened this issue Jul 13, 2016 · 1 comment

Comments

@fcostarodrigo
Copy link

Found this question on stack overflow about the example and I could not answer it myself.

http://stackoverflow.com/questions/38187588/why-would-someone-make-an-xhr-to-an-url-generated-by-url-createobjecturl

Maybe we need a comment in the code explaining it?

@Garciat
Copy link
Owner

Garciat commented Jul 13, 2016

I did that because I encountered a bug in Chrome for Android where it wouldn't want to play the audio from the URL generated from the encoded audio blob directly. The XHR call was simply the workaround that I could come up with at the moment.

More: https://bugs.chromium.org/p/chromium/issues/detail?id=227476#c21

It looks like since my comment on Feb 2, the bug has been fixed as of Chrome 50. I have not checked.

I will close this issue once the example source is fixed either by commenting the weird workaround, or getting rid of it because it is no longer needed.

PS: I did comment this workaround in an old version of the library here.

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