Releases: react-player/reaplay
v1.1.11
v1.1.10
[update patch]:
document was updated:
browser alert & sample code
v1.1.9
1.1.9 change log:
start life cycle from useLayoutEffect to useEffect was change
repeat functionality was change: it repeat without loading again
v1.1.8
new function was added:
player.update();
& isRepeat effect watcher:
https://github.com/react-player/reaplay/blob/d6982dda6a9a38485e1f32798d5cd8e7f520f63e/src/index.tsx#L414
v1.1.7
add new function:
player.forceUpdatePlayer()
it force re-render the Reaplay
readme updated.
v1.1.6
refactor some types,
remove codesandbox example
update example directory
v1.1.5
add new functions: mute
, unmute
, playShuffle
, playRandom
, repeat
new variable: isShuffle
and update the documation: add example code
v1.1.4
new version with new two functions [play] - [pause] was launched.
and somethings in example dir & typescript stuff was fixed
v1.1.3
fix the children type
(any) to (PlayerType).
v1.1.1
add PlayerType for returned player in function of HOC.
import { Reaplay, PlayerType } from 'reaplay'
<Reaplay tracks={songList} >
{(player: PlayerType) => {
// player have functions and variables
}
</Reaplay>