+ 1
How can we add audio in html5 to play in other devices also?
2 ответов
+ 7
https://www.sololearn.com/Discuss/1054246/?ref=apphttps://www.sololearn.com/discuss/1073871/?ref=app
1. Find an audio you want and download it. For example some gunshot audios can be found here: https://www.soundjay.com/gun-sound-effect.html
2. Cut audio (optional)**
3. Upload audio on dropbox
4. Share it's link on dropbox
5. Copy shared link and paste it in src of your audio tag
6. And the most important thing -> instead of 'www' put 'dl' (Check out code example)
** After you download a desired sound, it can often have a certain 'no sound' region. I suggest you to use some audio cutter to leave only the part you need (useful for rapid fire). There are plenty of cutters on web.
https://code.sololearn.com/WUhX3W6925bT/?ref=app
https://www.sololearn.com/discuss/1187958/?ref=app
+ 2
thanku vishal pal