game.json中加入如下代码
"plugins": {
"QCloudAIVoice": {
"version": "latest",
"provider": "wx3e17776051baf153"
}
}
项目中引用
requirePlugin('QCloudAIVoice')
控制台报错
Error: module '__plugin__/wx3e17776051baf153.js' is not defined, require args is '__plugin__/wx3e17776051baf153.js'
请问小游戏可以使用语音识别插件吗,如果不能有替代方案吗?
可以试试接入这个 https://cloud.tencent.com/document/product/1093/48982
是哪个小游戏,用在什么场景?