x-webkit-speech, how to auto click the mic icon to record many words automatically?

杀马特。学长 韩版系。学妹 提交于 2019-12-10 04:15:08

问题


I am working on chrome browser. The code <input x-webkit-speech> will show this:


if you click the mic icon, you can input speech. like this



My question is how to make it record voice to recognize automatically, without manually click the mic icon?
Such as when the page loaded, it start to record; or write codes to emulate a click event? Is it possible?
May you give a sample code or x-webkit-speech API's document?
Thank you.


回答1:


This should not be possible, because if it were it would be a privacy hazard — a page could start recording what is said in the vicinity without the user being aware of it or intending to. If there is any way to accomplish this, it will most certainly be removed as soon as the browser developers become aware of the problem.



来源:https://stackoverflow.com/questions/9817373/x-webkit-speech-how-to-auto-click-the-mic-icon-to-record-many-words-automatical

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!