wx.createInnerAudioContext创建的市里,播放没有声音
发布于 5 年前 作者 yefang 2965 次浏览 来自 问答

在开发者工具里面正常播放,手机里面播放不了。

代码片段如下:

this.audioCtx = wx.createInnerAudioContext();

this.audioCtx.src = 'https://app-img.zuoshouyisheng.com/fe9fcf45e091bc6886a56b10ea5e4fb1.m4a';
this.audioCtx.play();
2 回复

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

是重复赋值吗?

回到顶部