uni-app ios平台 audioContext音量设置为0后,不能静音。安卓正常

9***@qq.com
- 发布:2024-08-06 16:07
- 更新:2024-08-06 16:32
- 阅读:190
uni-app ios平台 audioContext音量设置为0后,不能静音。求解
分类:uni-app x

9***@qq.com (作者)
const bgm = uni.createInnerAudioContext()
bgm.src = 'xxx'
bgm.autoplay = true
bgm.volume = 0
9***@qq.com (作者)
const bgm = uni.createInnerAudioContext()
bgm.src = 'xxx'
bgm.autoplay = true
bgm.volume = 0
2024-08-06 16:26
9***@qq.com (作者)
很正常的代码
2024-08-06 16:27