Chrome版本60 SpeechRecognition [英] Chrome version 60 SpeechRecognition

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

问题描述

对于非HTTPS网站,版本60 webkitSpeechRecognition已被禁用。
这是主要用于开发目的的主要问题。有没有办法绕过/禁用这种安全功能?



问题是应该询问您是否要访问麦克风的弹出窗口不会显示HTTP,但它在HTTPS上。



为DEV设置HTTPS并不容易,所以我真的需要一种方法来绕过这个。

解决方案

简短回答,。你不能禁用它。



但是,如果您有Windows,您可以在IIS中通过 localhost 。有关于如何执行此处的教程。一旦向IIS注册,您必须添加一些权限,以便您可以在浏览器中使用 localhost 来查看。



<如果你正在运行Linux,你可以安装Apache2并将它放到 / var / www / public_html / {websitename}中。然后你可以通过浏览器直接访问它本地主机。有关于安装Apache 此处的教程。



在使用本地文件时,确实应该有一种方法可以使麦克风在浏览器中工作。一旦你设置了 localhost ,它的使用相对简单。


After version 60 webkitSpeechRecognition is disabled for non HTTPS websites. This is a major issue for developing purposes mainly. Is there a way to bypass/disable this security feature?

The issue is that the popup which is supposed to ask you if you want to access your mic is never displaying on HTTP, but it is on HTTPS.

Setting up HTTPS for DEV is not easy, so I really need a way to bypass this.

解决方案

Short answer, no. You can't disable it.

But, you can host it though a localhost in IIS if you have windows. There's a tutorial on how to do that here. Once the register it with IIS, you have to add some permissions so you can view in in the browser with localhost.

If you are running Linux, you can install Apache2 and just drop it into /var/www/public_html/{websitename}. Then you just access it though the browser through localhost. There's a tutorial on install Apache here.

There really should be a way to enable the microphone to work through the browser when working with local files. Once you set the localhost up though, it's relatively simple to work with.

这篇关于Chrome版本60 SpeechRecognition的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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