1.0.2 • Published 4 years ago
useaudiohook v1.0.2
useAudio
What is it ?
This is a hook implementation wrapped around a Audio
instantiation.
How to use ?
import {useAudio} from 'useaudiohook';
const instance = useAudio(src)
It functions similar to how the Audio constructor would function. You'll see that almost all the same methods and properties are exposed as well.
Issues ?
This is a work in progress as such all issues are welcome. Please report issues HERE