SpeechRecognition在firefox中不起作用

时间:2016-09-30 06:24:48

标签: javascript firefox speech-recognition webspeech-api

我正在尝试测试firefox的 webspeech-api ,但在控制台中遇到错误 ReferenceError:未定义SpeechRecognition

我甚至在about:config。

中启用了media.webspeech.recognition.enablemedia.webspeech.synth.enabled标志

有没有办法让 SpeechRecognition 在firefox上运行?

1 个答案:

答案 0 :(得分:3)

根据2016年1月21日的this blog post作者:Chris Mills(Mozilla的高级技术作家)你不能在FF环境中使用它

  

...因为尚未实现允许用户授予应用程序使用权限的UX / UI。

...

以下是您可以投票的bug report

目前,您必须进入chrome环境(扩展程序)才能使用它。

相关问题