Html5 audio recording not working on iphone

Is html5 recording supported on iPhone. I wrote the code, but it does not work. Something is wrong with the code.

 <h2>capture=microphone</h2>
 <input type="file" accept="audio/*;capture=microphone"></input>
 <h2>Test 2</h2>
 <input type="file" accept="audio/*" id="capture" />

It works great on Android 2.1. If the iPhone doesn't support html5 sound recording, what is the best alternative way to implement it?

+3
source share
1 answer

Yes, currently it only works on Android 3.0 devices, however you can look at using the space bar of the phone and their javascript media apis

http://docs.phonegap.com/en/1.2.0/phonegap_media_capture_capture.md.html#CaptureAudioOptions

+1
source

All Articles