backgroundAudioManager src 播放两遍 设置问题

发布于 7 年前作者 hsu438 次浏览最后编辑 7 年前来自 ask

backgroundAudioManager.src =“https://xxx/abc.mp3” 设置 正常播放结束后

 

.onEnded( function () {

setTimeout(function () {

        that.play() // repeat play

    }, 1000)

})

// repeat play

play: function () {

backgroundAudioManager.src =“https://xxx/abc.mp3

}

backgroundAudioManager.src =“https://xxx/abc.mp3 设置完全相同,第2遍不会播放

开发工具和ios都可以

0 回复
暂无回复