react-music-player: Infinite load when append audio file
Version
Latest version: 4.17.1
Description
When append a new audio file (here .m4a) and clicking on play, audio file seems to not be played directly. Click on the item in the playlist again and the audio file will start to play.
However, audio file info seems to failed to be returned, the loading state loader is still displayed and no length is displayed in the player.
Also, a call seems to be made each time to an undefined endpoint, here was: https://ccen8.csb.app/undefined if you check you network console.
Reproduce Link
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (9 by maintainers)
Commits related to this issue
- fix: cannot show audio info if audio list is empty by appendAudio #146 — committed to lijinke666/react-music-player by lijinke666 4 years ago
- fix: audio auto play when appended new audio if enable autoplayInitLoadPlayList #146 — committed to lijinke666/react-music-player by lijinke666 4 years ago
- fix: infinite load when append big audio file #146 — committed to lijinke666/react-music-player by lijinke666 4 years ago
@lijinke666 To reproduce the bug, I made a sandbox example here: https://codesandbox.io/s/recursing-germain-ccen8?fontsize=14&hidenavigation=1&theme=dark
This? https://react-jinke-music-player.netlify.app/
I’ll look over the problem when I have time, If you’re in a hurry, welcome pr