Releases: lijinke666/react-music-player
Releases · lijinke666/react-music-player
v4.15.0
Features
- add
onCoverClick
hook #120
- add
onPlayIndexChange
hook
- optimize code
Bug Fixes
- fix keyboard is completely locked when player is active #122
- fix: cannot play when audio item clicked and autoplay is false
- fix: cannot play audio by defaultPlayIndex
v4.14.2
Bug fixes
- fix: after destroy player unmount component throw error
- fix: cannot auto play first song when audio list changed (autoPlayInitLoadPlayList: true)
- fix: audio list item text ellipse
- fix: should cannot trigger hook function when mode, theme, playMode update by props #117
- fix: cannot resolve typescript define
🐜 api rename: onAudioLoadError
=> onAudioError
v4.14.1
Bug fixes
- fix player unmount error #115
- fix audio list cannot init when before the updated the audio list is empty
v4.14.0
Features
- new demo page
- new play list ui
Bug fixes
- fix: close audio panel when mode is changed to mini
- fix: prevent default keydown event
- fix: adjust mode tip z-index
- fix: cannot custom progress bar background color
v4.13.1
Bug fixes
- refactor drag boundary conditional judgment code 6c1ab60 #113
v4.13.0
Features
- support custom duration #90
v4.12.1
Bug Fixes
- fix webpack assets dir tree shake in production issue #102
v4.12.0
Features
- add
responsive
api, support custom responsive ui toggle #100
- optimize code
Bug Fixes
- fix light theme invalid if audio list is empty #101
- fix volume cannot toggle if audio list is empty
- fix setPositionState from media session error trace #102
v4.11.2
Bug fixes
- modify MediaSession
close
button scope, remove call destroy action by close button
v4.11.1
Bug fixes
- fix cannot resolve assets dir issue