I know the location of the mp3 file in my server. I have loaded it into my View and the <audio> element can play it. Now I want to extract the loaded blob data from the <audio> element. I found examples on web, but these only show how to upload a file using an <input> element.
I want to know how to get the binary data from an existing <audio> element like this:
<audio id="myAudio" src="/Media/UserData/mp3DataFolder/5f67889a-0860-4a33-b91b-9448b614298d.mp3"></audio>
Thanks from now.
base64data in this link. do you know how can I convert thismp3file tobase64with javascript ?