How to add mp3 audio files | Sololearn: Learn to code for FREE!

+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?

8/17/2017 8:06:33 PM

Okami

5 Answers

New Answer

+2

https://code.sololearn.com/W2J9yIZmd6JN/?ref=app

+1

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

0

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>

0

Hi, how to download audio from social. networks. For example, social. VK network.

0

Thanks a lot