Hanz Luo
Hanz Luo
If you are looking for React audio player with UI, you can try this one [react-h5-audio-player](https://github.com/lhz516/react-h5-audio-player) which is also based on `audio` tag. Feel free to give me some feedbacks!
Are you calling `audio.play()` in `onEnd`? Actually you can just set new `src` to play the next song. In the storybook, there's a [playlist example](https://github.com/lhz516/react-h5-audio-player/blob/c67726b047adc05d4f63f592d869e9d4b025310c/stories/playlist.tsx).
I tried in codepen and didn't find any issues. https://codepen.io/lhz516/pen/ZExvXjx Please fork the link above and reproduce the issue if it's not resolved.
Thanks for reporting. I'll take a look
Thanks for pointing this out. I couldn't find the release notes for `@iconify/icons-mdi` everywhere. I assume that 1.2 has some breaking changes. Let me just pin the version to `1.1.x`...
Published `3.8.3`. Please try it out.
@theDanielJLewis Probably due to webpack/babel settings. I can look into it if you provide more details or a minimal reproducible repo.
@mrganser We might not need to pin that version. I believe `@babel/preset-env` does the transform for you.
The `src` prop is directly passed to the `` element internally. I guess it's somehow related to SSR behavior in Next.js. Can you make a minimal reproducible repo? I can...
Hi everyone, I know the root cause now. In `componentWillUnmount`, there is `audio.removeAttribute('src') `. https://github.com/lhz516/react-h5-audio-player/blob/9a7d62277bc043ebebac23fc349a129b93d9da04/src/index.tsx#L701 Your framework unexpectedly ran this lifecycle even if the component is not being destroyed. We...