获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
- 音频iso获取时长duration为0?
myaudio.src = "https://hmj-api.tapfun.cc/file/downloadFileMedia/d1928912-9b0d-4b6c-9328-ae7183246c12.mp3"; that.duration=that.formatSeconds(res.data.audioDuration); myaudio.onTimeUpdate(function(){ setTimeout(() => { let durationnum = parseInt(myaudio.duration); let time = that.formatSeconds(myaudio.duration); that.duration = time; that.durationNum = durationnum; }); that.changeCurrent(myaudio.currentTime) })
2020-10-10 - ios真机下音频获取duration为0?
开发者工具和安卓手机是可以获取到的,ios获取到是0
2020-09-29