最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin2浏览0评论

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.

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.

Share Improve this question edited Mar 23, 2012 at 1:54 zhu asked Mar 22, 2012 at 6:19 zhuzhu 3841 gold badge3 silver badges10 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 9

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 acplish this, it will most certainly be removed as soon as the browser developers bee aware of the problem.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论