Chrome iOS Webkit语音识别 [英] Chrome iOS webkit speech-recognition

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

问题描述

我试图在iPad上的Chrome上实现语音识别,但没有任何运气。只是为了削减和追赶我的webkitSpeechRecognition api实现,Glenn Shire的优秀示例代码不能在运行iOS 5.1.1的iPad 1上的Chrome v27上运行,或在运行iOS 7.0.4的iPad3上运行Chrome v31,至少就我而言可以告诉。它在这一行失败:

pre $ if(!('webkitSpeechRecognition'in window)){
r.onState '升级');
return;
}

我找不到解决方法,而且我没有看到任何在线发帖说任何关于语音识别的东西都不适用于iOS版的Chrome。任何人都会遇到这种情况?

解决方案

iOS上的Chrome目前不支持语音识别功能。



谷歌必须使用iOS UIWebView,这意味着Safari不支持特殊的网页解释功能。



您可能有一个请参阅此链接


I'm trying to implement speech recognition on Chrome on the iPad without any luck. Just to cut to the chase and remove any dependencies on my implementation of the webkitSpeechRecognition api, Glenn Shire's excellent sample code does not run on Chrome v27 on an iPad 1 running iOS 5.1.1 or Chrome v31 on an iPad3 running iOS 7.0.4, at least as far as I can tell. It fails at this line:

 if (!('webkitSpeechRecognition' in window)) {
    r.onState('upgrade');
    return;
 }

I can't figure out a workaround, and I've not seen any online postings that say anything about speech recognition not working in the iOS version of Chrome. Anyone else run into this?

解决方案

Chrome on iOS doesn't support Speech Recognition at the moment.

Google have to use iOS UIWebView that mean there is no special web interpretation feature that are not supported on Safari.

You may have a look to this link.

这篇关于Chrome iOS Webkit语音识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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