Open AnHal opened 7 years ago
I believe you need to have the files in the /public/ directory to reference them like this
You need to be able to serve those sounds with a server, then use that url in the Sound
component.
we have no chance to use it from a local file?
You can. If open html from local file.
Could you give an example on this? How will I do
I am storing my audio files in an Audio collection in mongoDB. How can I access those audio files and play them? Or is there a way to reference them as url?
Hi, i am creating an App with React/Meteor. I installed react-sound and it works fine, when I take an Url from the Internet, for example those from the example. But actually, I wanted to play music, stored in a local directory. I tryed many diffrent absoulute and relative paths, but I always get this error:
Is it event possible to play music from local directory or do i have to consider any special things? Thanks