useAudio

Plays audio and exposes its controls.

hooks
{
  "buffered": [],
  "time": 0,
  "duration": 0,
  "paused": true,
  "muted": false,
  "volume": 1,
  "playing": false
}

Installation

Run the following command:

npx ever-ui-clx@0.2.1 add demo-use-audio
# └──> Hook coming soon.

Usage