SpeechRecognition在firefox中不起作用 [英] SpeechRecognition is not working in firefox

查看:117
本文介绍了SpeechRecognition在firefox中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am trying to test webspeech-api of firefox but encountering an error in the console saying ReferenceError: SpeechRecognition is not defined.

我甚至已启用 media.webspeech.recognition.enable media.webspeech.synth.enabled about中的标志:config。

I have even enabled media.webspeech.recognition.enable and media.webspeech.synth.enabled flags in about:config.

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

Is there a way to make SpeechRecognition work on firefox?

推荐答案

根据此博客文章自2016年1月21日起由Chris Mills(Mozilla的高级技术作家)您无法在FF环境中使用它...

According to this blog post from January 21, 2016 by Chris Mills (a senior tech writer at Mozilla) you can't use it yet in web environment on FF ...


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

... because the UX/UI to allow users to grant an app permission to use it is not yet implemented.

...

这是错误报告,您可以投票。

目前,您必须在 chrome 使用它的环境(扩展名)。

And currently, you'll have to be in the chrome environment (extension) to use it.

这篇关于SpeechRecognition在firefox中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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