+ 5

Where to upload my audio file to use in my web page?<Solved, thanks>

I want to use an audio file that is in my device, in my web code. I tried a lot of ways and they just don't work or i don't know how to do it. So anyone did this before with successful results? Pls help me It's not about embedding audio file into my HTML code, but about hosting my audio file in the internet

22nd Feb 2022, 7:01 AM
Rishi
Rishi - avatar
24 Answers
+ 5
Jacopo i didn't upload my website so i followed @Tihiti's suggestion and chose dropbox
23rd Feb 2022, 12:13 PM
Rishi
Rishi - avatar
+ 5
Basil but thank you for helping😊
23rd Feb 2022, 4:55 PM
Rishi
Rishi - avatar
+ 4
Rishi Yes, you do have to create an account in order to use it. It’s free and in my opinion extremely handy. You can find it in the app store or Google play and also at dropbox dot com.
23rd Feb 2022, 2:40 AM
Tahiti🌍Castillo
Tahiti🌍Castillo - avatar
+ 4
Tahiti🍷Castillo yeah it worked! But had to get more help with the link though, but still got it so work 😃
23rd Feb 2022, 4:53 PM
Rishi
Rishi - avatar
22nd Feb 2022, 7:29 AM
Разин Ярослав Александрович
Разин Ярослав Александрович - avatar
+ 3
Ярослав Разин Александрович what do you mean? I think Google translate isn't translating your comment right. Are you just translating my question in Russian(or whatever the language is)?
22nd Feb 2022, 9:31 AM
Rishi
Rishi - avatar
+ 3
Rishi Alternatively, you can save your audio file to Dropbox, copy the link from Dropbox and use the link as audio src url. Just replace www with dl.
22nd Feb 2022, 10:51 PM
Tahiti🌍Castillo
Tahiti🌍Castillo - avatar
+ 3
Tahiti🍷Castillo ohh thank you :)
23rd Feb 2022, 4:50 AM
Rishi
Rishi - avatar
+ 3
Rishi I will assume you already have a website page for this audio file. So initially what you would do is: 1. Make a folder at the root of your website and call it 'Audio' 2. Copy and Paste your audio file into the Audio folder and maybe rename it to something memorable like 'audio.mp3' 3. On your HTML page enter the following code <audio src="/Audio/audio.mp3" \> for more details I recommend W3Schools If what you are asking is how to upload an audio file and save it to a website's server and be able to play it when requested is something more complex. If anyone is looking for this more complex solution DM me and I'll try to explain what to do. check out my example of this complex solution on vassandsonseconds.azurewebsites.net
23rd Feb 2022, 2:47 PM
Basil
Basil - avatar
+ 3
Rishi I hope that worked. You may have to change the characters after mp3? to raw=1 And also indicate inside the source tag what type of audio. type=“audio/mpeg” Another way is to upload your audio to Soundcloud.com by creating a free account, if you’re not bothered by the recent controversy.
23rd Feb 2022, 4:02 PM
Tahiti🌍Castillo
Tahiti🌍Castillo - avatar
+ 3
Basil nope, i don't have a website, and so I've solved this by using Dropbox
23rd Feb 2022, 4:53 PM
Rishi
Rishi - avatar
+ 2
<audio> <source src="link"></source> </audio>
22nd Feb 2022, 7:25 AM
Разин Ярослав Александрович
Разин Ярослав Александрович - avatar
+ 2
Куда загрузить мой аудиофайл для использования на моей веб-странице? Я хочу использовать аудиофайл, который находится на моем устройстве, в моем веб-коде. Я пробовал много способов, и они просто не работают или я не знаю, как это сделать. Так
22nd Feb 2022, 7:42 AM
Разин Ярослав Александрович
Разин Ярослав Александрович - avatar
22nd Feb 2022, 12:10 PM
Rishi
Rishi - avatar
22nd Feb 2022, 1:10 PM
Rishi
Rishi - avatar
+ 2
Tahiti🍷Castillo I have a few questions. Is dropbox an application? Or website? Do i need an account to use it?
23rd Feb 2022, 2:18 AM
Rishi
Rishi - avatar
+ 2
Rishi Anytime! 🍻
23rd Feb 2022, 5:51 AM
Tahiti🌍Castillo
Tahiti🌍Castillo - avatar
+ 2
Rishi That also works
23rd Feb 2022, 4:55 PM
Basil
Basil - avatar