Skip to content
  1. Oct 04, 2022
    • Tsoumenis Vangelis's avatar
      Adds PlayerHandle interface · ef87718d
      Tsoumenis Vangelis authored
      PlayerHandle is an object that holds methods to control a
      single instance of Ardplayer.
      This can be used as parameter to callback functions that
      listen to player state changed.
      
      Should be used as the handle for useImperativeHandle
      if a ref to a Ardplayer is ever required.
      
      Right now only the pause function is needed but others
      and possibly some state might be added later.
      ef87718d
  2. Sep 29, 2022
    • 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
    • Daniel Kuhn's avatar
      Add API documentation in README · edf40c0f
      Daniel Kuhn authored
      edf40c0f
  3. Sep 28, 2022
  4. Sep 27, 2022
  5. Sep 26, 2022
  6. Sep 23, 2022