- 多音频顺序播放时,音频会跳着播放,不知道为什么?
多音频顺序播放时,之前没问题,现在安卓播放有问题,苹果手机没问题。 安卓播放,如果从1个开始,播放顺序1,3,5等 如果是从第2个开始播放,顺序是2,4,6,8 等。不知道微信升级什么了?
2025-10-27 - 手机端正常,PC端多音频连续播放时,没播放就调用了onEnded?
PC端多音频连续播放时,没播放就调用了onEnded,手机端正常。 使用了BackgroundAudioManager this.currentBgAudio.onEnded(() => { this.destroyAudio(); setTimeout(() => { this.toNextChoose(); }, 500); }); toNextChoose() { this.destroyAudio(); if (Number(this.itemIndex) + 1 >= this.allLength) { console.log('这里是最后了'); this.hanldeFinishShowEndPage(); return; } this.itemIndex++; this.playCurrentItemAudio(); }, playCurrentItemAudio() { this.currentItem = this.allContentArr[this.itemIndex] || {}; const { title, audioUrl } = this.currentItem; this.destroyAudio(); console.log(audioUrl); if (audioUrl) { this.currentBgAudio = createBgAudioText(); this.currentBgAudio.title = title || '暂无'; this.currentBgAudio.src = audioUrl; this.currentBgAudio.play(); showLoading('正在加载音频'); if (!this.hasListener) { this.handleWithAudioEvent(); this.hasListener = true; } } }, 这个onEnded 执行了,playCurrentItemAudio里面this.currentBgAudio = createBgAudioText(); 没有执行。
2023-05-24 - 微信8.0.30 for Android,小程序无法获取音频时长
微信8.0.30 for Android,小程序无法获取音频时长,innerAudioContext.duration 是 0 [图片]
2022-11-22 - 微信8.0.2 小程序的样书乱了?
样式全乱了
2021-03-17 - 使用的第三方插件名字
小程序,点击“关于+小程序名称”,然后右上角点击“...”-点击“更多资料”,服务支持 使用的第三方插件名字可以不显示吗?
2019-07-11