+ 1
I want to add sounds to my web code. Plz help!
Where to store the audio files, so that I can have links to those sounds easily, and have access to them in my code?
2 ответов
+ 2
//You can upload on Dropbox and use the audio in your code
https://www.sololearn.com/discuss/1054246/?ref=app
+ 1
Assuming you have established a traditional environment for the web site.
Place audi in a folder in the root folder of the site.
You might call it 'audio' you can then layer more folders within audio. Such as /audio/car-noises.
The important thing to remember is you must refer to the folder properly or you can expect an error. What that means is if your sites working folder is not the site root you might need to change the location of the sounds accordingly.
IE: /site/gameofthornes/audio/ouch.ogg
Most site builder ide apps will keep track of your site pages and their respective resources for you.
Good luck