it keeps retrying when the song resource failed to load, how to stop it?
Open
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Aplayer version: 1.10.1
Intuitively, I think `preload=false`, or `destroy`, can stop it, But doesn't effect.
```js
const ap = new APlayer({
container: document.getElementById("music-box"),
audio: state.playList,
fixed: true,
order: "random",
autoplay: false,
preload:false
});
ap.on('error', function (e) {
console.log('播放失败,可能所在地区不支持网易云!',e);
ap.destroy()
});
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.