+ 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
24 Answers
+ 5
Jacopo i didn't upload my website so i followed @Tihiti's suggestion and chose dropbox
+ 5
Basil but thank you for helping😊
+ 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.
+ 4
Tahiti🍷Castillo yeah it worked! But had to get more help with the link though, but still got it so work 😃
+ 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)?
+ 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.
+ 3
Tahiti🍷Castillo ohh thank you :)
+ 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
+ 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.
+ 3
Basil nope, i don't have a website, and so I've solved this by using Dropbox
+ 2
<audio> <source src="link"></source> </audio>
+ 2
Куда загрузить мой аудиофайл для использования на моей веб-странице?
Я хочу использовать аудиофайл, который находится на моем устройстве, в моем веб-коде. Я пробовал много способов, и они просто не работают или я не знаю, как это сделать. Так
+ 2
Ярослав Разин Александрович okay i use controls
+ 2
Ярослав Разин Александрович okay thank you :)
+ 2
Tahiti🍷Castillo I have a few questions. Is dropbox an application? Or website? Do i need an account to use it?
+ 2
Rishi Anytime! 🍻
+ 2
Rishi That also works