0

I am trying to get the blob url src from the audio control as seen from this Inspect Element snippet:

<audio controls="" src="blob:http%3A//icubs.org.uk/ef44814c-3eed-44a3-a085-f56ab8f34903" id="audio"></audio>

Does anyone know the best way to get this? Is it possible to get it using document.GetElementByID?

Thanks!

dimsum204
  • 53
  • 4
  • Simple DOM extraction and string parsing? Have you attempted anything yet? Read any documentation? Followed any tutorials? Which book are you following? – Lightness Races in Orbit Feb 18 '15 at 19:25
  • Hello @LightnessRacesinOrbit, sorry if the question was abit vague. I have been following this tutorial: https://subinsb.com/html5-record-mic-voice . However, I was trying to modify it slightly, by sending the blob url of the recorded audio via email using php (the php part is done already). The problem is that I can't get the blob url, any suggestions? – dimsum204 Feb 18 '15 at 19:48

1 Answers1

0

Like document.getElementById("audio").src? Convert blob URL to normal URL

Community
  • 1
  • 1
user3700591
  • 195
  • 2
  • 2
  • 5