bgmAudioContext = swan.createInnerAudioContext();
this.bgmAudioContext.src = bgmClip.nativeUrl;
this.bgmAudioContext.loop = true;
this.bgmAudioContext.volume = 0.6;
this.bgmAudioContext.play();
以上代码为什么播不出来声音?
ps: 为啥我要用这样?
因为音效、背景音乐有bug。
看了好多帖子,没解决。
尝试用以上代码也失败了。
哎,流下了没有技术的眼泪。。。