audio组件错误码和文档不符
发布于 6 年前 作者 jlong 1967 次浏览 来自 问答

<audio src=“www” poster="{{current.poster}}" name="{{current.name}}" author="{{current.author}}" loop="{{true}}" action="{{audioAction}}" bindplay=“audioPlayed” bindtimeupdate=“audioTimeUpdated” controls

bindended=“handleEnd”

binderror=“handleError”

></audio>

handleError(e){

console.log(‘errorwwq’,e);

},

1 回复

你好,1.6.0版本开始,该组件不再维护。建议使用能力更强的 wx.createInnerAudioContext 接口

回到顶部