微信公开课
微信公开课小程序热门讨论关于「微信小程序开发使用wxcreateInnerAudioContext()播放本地音频」的小程序开发问题
补充:语音不播放,且无任何报错信息,真机调试版本可以播放,体验版和开发版不行sayPrice:function(bgm,preVoice,price2,dollar2){setTimeout(function(){bgm=wxcreateInnerAudioContext();bgmautoplay=true
展开:语音不播放,且无任何报错信息,真机调试版本可以播放,体验版和开发版不行sayPrice:function(bgm,preVoice,price2,dollar2){setTimeout(function(){bgm=wxcreateInnerAudioContext();bgmautoplay=true;bgmloop=false;bgmsrc=preVoice;bgmonPlay(function(res){consolelog(onPlay:,res)})bgmonError((err)={consolelog(err)})bgmonEnded(function(){consolelog(播放结束1)letbgm2=wxcreateInnerAudioContext();bgm2autoplay=true;bgm2loop=false;bgm2src=mp3+price2+mp3;bgm2onEnded(function(){consolelog(播放结束2)letbgm3=wxcreateInnerAudioContext();bgm3autoplay=true;bgm3loop=false;bgm3src=dollar2;})})},150)},即速小程序:麻烦提供出现问题的机型和微信版本,以及能复现问题的代码片段(https:developersweixinqqcomminiprogramdevdevtoolsminicodehtml):求各路神仙帮帮忙
更多有关「微信小程序开发使用wxcreateInnerAudioContext()播放本地音频」的讨论可以前往微信公开课小程序参与互动哦!了解更多
方法1:微信扫描微信公开课小程序码即可订阅热门讨论「微信小程序开发使用wxcreateInnerAudioContext()播放本地音频」
方法2:微信搜索微信公开课小程序名称进入,即可订阅热门讨论「微信小程序开发使用wxcreateInnerAudioContext()播放本地音频」
方法3:微信网页访问即速商店,长按识别微信公开课小程序码即可订阅热门讨论「微信小程序开发使用wxcreateInnerAudioContext()播放本地音频」
微信公开课小程序热门讨论「微信小程序开发使用wxcreateInnerAudioContext()播放本地音频」由微信公开课原创摘录于微信小程序商店shop.jisuapp.cn,转载请注明出处。
微信公开课热门讨论「微信小程序开发使用wxcreateInnerAudioContext()播放本地音频」由微信公开课开发者向微信用户提供,并对本服务内容、数据资料及其运营行为等真实性、合法性及有效性承担全部责任。