Comments (1)
Sorry for the delay, I haven't had the bandwidth to focus on this project!
I've been assuming that the src is static; having it be dynamic opens up a bunch of possible issues.
If possible, I'd suggest not rendering the hook until the src is available. You'd need to move it into a little component to be able to conditionally render it.
I'm not actively working on this project so I don't imagine being able to fix this, but I encourage anyone to fork it and give it a shot!
from use-sound.
Related Issues (20)
- Looping sound
- stop or pause not working HOT 3
- Sound not playing in iPhone HOT 4
- Sound not playing on Recat-typescript HOT 1
- Uncaught TypeError: Cannot read properties of undefined (reading '0') at Howl.rate HOT 4
- Sound is not playing on Next.js. No bugs, but just sound doesn't play. Please help!
- Howler Instance HOT 1
- [Types] Add Howler types as optional peer dependency
- 404 error on vercel
- soundEnabled doesn't change on boolean useState change
- Issue: implementation of howler is using up unwanted memory. Plz fix this.
- use-sound hook is broken after installing it on a typescript project. HOT 21
- Is it possible to play the sound on repeat? HOT 1
- Remix.run Error: Dynamic require of "react" is not supported
- Error in build nextjs typescript when importing use-sound HOT 1
- Can't stop the audio when the component unmounts. HOT 2
- Is it possible to rewind sound HOT 1
- Sound is NOT working in MOBILE devices HOT 3
- Howler Bug: The provided value is non-finite -> Please update Howler HOT 2
- Could not find a declaration file for module 'use-sound'. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from use-sound.