Releases: lijinke666/react-music-player
Releases · lijinke666/react-music-player
v4.6.0
Feature
- add
onBeforeAudioDownload
api support transform download audio info #67
v4.5.0
Feature
-
add getAudioInstance
api support custom feature #65
<ReactJkMusicPlayer
getAudioInstance = { (audio) => {
console.log('audio instance', audio)
}
}
/>
-
add autoHiddenCover
auto hide the cover photo if no cover photo is available #69
![image](https://user-images.githubusercontent.com/21015895/68836342-18242e80-06f5-11ea-8633-ade0bbb01da5.png)
-
update mobile list panel close icon
![image](https://user-images.githubusercontent.com/21015895/68836205-c4194a00-06f4-11ea-9d31-92ba37d9548e.png)
v4.4.7
Bug fixes
- fix: throw audio load error when audio list is empty #66
v4.4.6
Bug Fixes
- fix: layout issue when toggle mobile operation button
v4.4.5
Bug Fixs
fix: optimize mobile panel height auto adjust in safari
v4.4.3
Bug Fixs
- fix can't resolve
react-jinke-music-player
#61
v4.4.2
Bug Fixs
- fix cannot trigger onThemeChange handler when theme update
- fix cannot update mode #60
- optimize play mode text animate
user select: none
v4.4.1
Bug Fixs
- fix cannot update state theme when option theme change #59
v4.4.0
Feature
- add
getContainer
return the mount node for music player
<ReactJkMusicPlayer getContainer={()=> document.body}/>
// or
<ReactJkMusicPlayer getContainer={()=> document.querySelector('.element')}/>
v4.3.7
Bug Fixs
- fix lyric play status when toggle play
- optimize player layout
- fix get audio media source faild cannot trigger
onAudioError
hook by unhandledrejection