Comments (2)
I'm also facing same issue. Is there any solution available? thanks
from use-sound.
I use this approach:
// Turn off sound when leaving page
useEffect(() => {
return () => {
console.debug('Turning off background music')
Howler.stop()
}
}, [])
from use-sound.
Related Issues (20)
- Next.js Playing multiple sounds on mobile
- React + Vite: TypeError: HowlConstructor.current is not a constructor HOT 2
- play() without argument does not work if sprites are defined
- "Cannot find type definition file for 'howler'."
- unable to install the package
- Unable to loop HOT 1
- Cannot read properties of null (reading 'useRef') when use it in Next.js HOT 1
- ReferenceError: HowlerGlobal is not defined (Parcel 2) HOT 1
- How to fade multiple audio samples HOT 1
- 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
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.