react-use-audio-player
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -48,3 +48,6 @@ "use strict"; | ||
autoplay: wasPlaying || autoplay, | ||
onload: () => void setLoading(false), | ||
onload: () => { | ||
setStopped(true); | ||
setLoading(false); | ||
}, | ||
onplay: () => { | ||
@@ -51,0 +54,0 @@ // prevents howl from playing the same song twice |
{ | ||
"name": "react-use-audio-player", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "React hook for building custom audio playback controls", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -92,5 +92,2 @@ # react-use-audio-player | ||
- `load: (config: { src: string, format?: string, autoplay?: boolean }) => void` | ||
<br/>loads an audio file | ||
- `loading: boolean` | ||
@@ -97,0 +94,0 @@ <br/>true if audio is being fetched |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
172
17435
179