I am testing the html audio tag and I would like to make audio blob url's, like youtube or vimeo does, and add it to the "src" to start playing the audio.
I've been testing with new Blob()
and URL.createObjectURL()
but I don't know how to use it.
I would like to do something like:
<audio controls src"blob:null/8142a612-29ad-4220-af08-9a31c55ed078"></audio>
I would greatly appreciate your help.
See Question&Answers more detail:os