小程序开发临时录音文件iOS播放只能播放一次,安卓可以无限播放问题解决在这里插入代码片

var res = wx.getSystemInfoSync()  if (res.platform == 'ios') {   this.audio = wx.getBackgroundAudioManager()  } else {   this.audio = wx.createInnerAudioContext();  }   this.audio.title = "音乐文件";  this.audio.src = "本地文件地址";  this.audio.play();  ---

TAG标签: 微信小程序ios视频播放

http://www.xiaochengxub.com/read-103816.html