-
-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot recreate player after it has been destroyed #96
Comments
yes, it's a bug, i will optimize the issue, thank your feedback
i think maybe add a new api like |
If I understand your proposal well, I think it would be messier from a the client's code perspective, as I'd have to control when the |
Do you mean to make the destroy of the player like |
i'm released version about the cannot recreate player after it has been destroyed. we can talk that this is indeed a feature. will todo |
Version
4.10 - 4.11.1
Description
If I destroy the player (using the destroy btn or the "close" btn from the MediaSession), I can't find a way to display it again when I want to play more music
Steps to Reproduce
Expected Behavior
After destroying the player, if I add more songs to the
audioLists
property, it should create a new player and start playing the new musicCurrent Behavior
There's no way to play more songs after the player has been destroyed. The only solution is to refresh the page so the
<ReactJkMusicPlayer>
is recreatedComments
If you feel like this is not something you want to support, at least do not set the navigator's "stop" handler if
showDestroy
is falseThe text was updated successfully, but these errors were encountered: