Playing Audio From Data:url Google Chrome Mobile
I use this code to generate a audio element from byte , it create a simple wav sound , I am able to play that in google chrome or firefox of DESKTOP , but when I want to play that
Solution 1:
This is most certainly a bug. Any time that you have it working on desktop and it fails to work on Chrome for Android that it is 99.5% likely to be a bug.
I have raised the bug here: https://code.google.com/p/chromium/issues/detail?id=253466 with a demo of the error here: http://jsbin.com/ajocid/latest
There is another solution on the desktop to encode the audio into a Blob and play that, unfortunately that does not work either on Chrome for Android and needs to be fixed.
The best you can currently hope for until the two bugs are fixed is to upload this to a server and play it from there.
Post a Comment for "Playing Audio From Data:url Google Chrome Mobile"