- ios不支持onCanplay
ios不支持onCanplay????????????? backgroundAudioManager.onCanplay(() => { console.log("onCanplay") setTimeout(function () { wx.hideLoading() }, 100) })
2018-04-16 - wx.getBackgroundAudioManager()
安卓播放没事 ios 播放失败 这是为啥? [图片] const backgroundAudioManager = wx.getBackgroundAudioManager(); play(){ var that=this; if (backgroundAudioManager.paused == false){ backgroundAudioManager.pause()//暂停播放 that.setData({//改变按钮状态 palyState:false }) } else if (wx.getStorageSync('disciplineA')){ backgroundAudioManager.src = that.data.indexSrc; that.setData({ palyState: true }) }else{ backgroundAudioManager.play()//开始播放 that.setData({//改变按钮状态 palyState:true, }) } },
2018-04-08 - ios打开小程序会出现一直加载
ios打开小程序会出现一直加载[图片]
2018-04-08