x-webkit-speech,如何自动点击麦克风图标自动录制多个单词? [英] x-webkit-speech, how to auto click the mic icon to record many words automatically?

查看:165
本文介绍了x-webkit-speech,如何自动点击麦克风图标自动录制多个单词?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Chrome浏览器。代码
< input x-webkit-speech> 会显示:



如果您点击麦克风图标,则可以输入语音。像这样


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

我的问题是如何让录制声音自动识别,无需手动点击麦克风图标

例如当页面加载时,它开始记录;或者编写代码来模拟点击事件?可能吗?

您可以提供示例代码还是 x-webkit-speech API文档?

谢谢。

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.

推荐答案

这应该是不可能的,因为如果它是一个隐私风险 - 一个页面可以开始记录附近所说的内容,而用户不知道或打算这么做。如果有什么办法可以做到这一点,只要浏览器开发人员意识到问题,它肯定会被删除。

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.

这篇关于x-webkit-speech,如何自动点击麦克风图标自动录制多个单词?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆