How to add mp3 audio files | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to add mp3 audio files

so of course I'm given this example <audio controls> <source src="audio.mp3" type="audio/mpeg"> <source src="audio.ogg" type="audio/ogg"> </audio> yet would the mp3 name go into the "audio.mp3" part? Would I simply copy and paste, or is their such a thing as a url for mp3 files; if so how do I find it?

17th Aug 2017, 8:06 PM
Okami - avatar
6 Answers
27th Oct 2020, 2:29 PM
HARDIK JAIN - avatar
It might look confusing but there are two ways: (I recommend no.1) 1.Place the audio file in the same folder where your HTML document is and replace "audio.mp3" with the song name. 2. Write where exactly the audio file is. By that I mean e.g. " C://User/Arnie/My Music/audio.mp3" feel free to ask me anything if it goes wrong
17th Aug 2017, 8:45 PM
Arnie - avatar
Wait if I do number would I have to do that outside of the code playground? You can run HTML on any word document right? If I do number: my is coming off of a flash drive. So would it be USB Drive (F:)//music//audio.mp3 when I check my document that what my computer names my flash drive, and I keep my music in a 'music' folder. This is what I wrote <div></div> <audio controls autoplay></audio> <source src= "USBDrive(F:)//music//[Music] Fire Emblem Echoes: Shadows of Valentia ► Echoes ║Extended║.mp3" type="audio/mpeg"></audio>
29th Aug 2017, 11:38 PM
Okami - avatar
Hi, how to download audio from social. networks. For example, social. VK network.
28th Apr 2020, 8:08 PM
1.SSS.WWW - avatar
Thanks a lot
27th Nov 2021, 2:23 PM
Sunny Sarovar
Upload your MP3 (. mp3) files. Select the MP3 files that you want to merge. Put your MP3 files in order. Simply drag and drop your files in the order you want them to appear in the final audio. Download your new MP3 file. It will take a few minutes until the file is ready and automatically downloaded. Regards, Wll
16th Jan 2023, 8:32 AM
william joe
william joe - avatar