Skip to content
  • Daniel Kuhn's avatar
    Introduce onPlay and onPause · 13dcccf8
    Daniel Kuhn authored
    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
    13dcccf8