Introduce onPlay and onPause
onPlay takes a function which gets called with the pause function of the player as argument whenever the player starts playing onPause takes a void function which gets called when the player pauses or stops Add global pause button in example to showcase usage
parent
83c98ccb
Please register or sign in to comment