We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
"react-jinke-music-player": "^4.24.2", "react": "^18.2.0",
Getting this error when i destory a player using the (X) cross button and then play a new song
const MusicPlayer = ({ audioLists = [], currentSongIndex = "" }) => { const playIndex = audioLists.findIndex( (song) => song.id === currentSongIndex ); return ( <ReactJkMusicPlayer audioLists={audioLists ?? []} mode="full" theme="dark" autoPlay={true} toggleMode={false} showThemeSwitch={false} showDownload={false} showReload={false} playIndex={playIndex ?? 0} showDestroy={true} /> ); };
It should play the new song
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
"react-jinke-music-player": "^4.24.2",
"react": "^18.2.0",
Description
Getting this error when i destory a player using the (X) cross button and then play a new song
Expected Behavior
It should play the new song
Current Behavior
The text was updated successfully, but these errors were encountered: