I was using the library in a django project and calling it in the base template. I found out that the src attributes of the audio/source elements where taking a piece of the url and they've never find out the sounds. Then, I thought that it could be a good idea to allow users to choose where to locate their sounds. So, I added a variable called "sounds_host", which has to be set before lauching the script by filling up its content with the url/path of the sounds.
I was using the library in a django project and calling it in the base template. I found out that the src attributes of the audio/source elements where taking a piece of the url and they've never find out the sounds. Then, I thought that it could be a good idea to allow users to choose where to locate their sounds. So, I added a variable called "sounds_host", which has to be set before lauching the script by filling up its content with the url/path of the sounds.