0

how do you find find the source file of audio on an MacBook

Ok so someone told me to copy the music to my code folder so I’m not sure if this is what they meant but I dragged the music from my library over to the new code page and it opened a page playing the music with a url so I copied it and tried to paste and use it in my code but it still isn’t working any more suggestions or is there possibly anything else I could be leaving out or doing wrong <audio controls> <source src="file:///Users/home/Documents/Audio/Shake%20it%20off.mp3" type="audio/mpeg"> </audio>

16th May 2019, 1:39 PM
Joe Trotter
Joe Trotter - avatar
1 Respuesta
+ 6
You can get your path of audio file by typing pwd in mac terminal . Use that path in your html
16th May 2019, 1:53 PM
Rstar
Rstar - avatar