我可以使用JavaScript在网络应用程序中录制语音吗? [英] Can I use javascript to record voice on a web app?
本文介绍了我可以使用JavaScript在网络应用程序中录制语音吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
它可以做到,但解决方案不适用于所有平台此时此刻。
< input type =fileaccept =audio / *; capture = microphone>
目前支持:
Android 3.0浏览器,Chrome for Android(0.16),Firefox Mobile 10.0,iOS6 Safari和Chrome(部分支持)
http://www.html5rocks.com/en/ tutorials / getusermedia / intro /
It seems I can only use Flash or Java to record voice on a web app. Is there a way of doing it via JavaScript?
解决方案
It can be done but the solution won't work across all platforms at the moment.
<input type="file" accept="audio/*;capture=microphone">
Currently Supported By:
Android 3.0 browser, Chrome for Android (0.16), Firefox Mobile 10.0, iOS6 Safari and Chrome (partial support)
Links:
http://www.html5rocks.com/en/tutorials/getusermedia/intro/
这篇关于我可以使用JavaScript在网络应用程序中录制语音吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文