There is a way to do what you want, it works on the desktop, but I can not guarantee that it works on mobile devices. The idea is to convert the dataURI to an ArrayBuffer, build a Blob from it, and then make an ObjectURL with it to go to the audio element. Here is the code (I tested it on Chrome / Firefox under Linux, and it works):
<script> var base64audio = "data:audio/ogg;base64,gibberish"; function dataURItoBlob(dataURI) { </script> ... <audio id="test" controls />
I hope this helps;)
source share