this.AUDIO = uni.createInnerAudioContext()
this.AUDIO.src = this.music.src
this.AUDIO.obeyMuteSwitch = false
this.AUDIO.onCanplay(() => {
console.log(' --- onCanplay = ', this.AUDIO.duration)
this.total_time = this.getMinuteTime(this.AUDIO.duration)
this.trueTime = this.AUDIO.duration
this.AUDIO.autoplay = false
})
1***@qq.com (作者)
好的,APP IOS端没声音(手机没开启静音模式),Android端正常,请问有没有解决方法
2022-08-24 11:40