How do you find source file of audio on a MacBook | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do you find source file of audio on a MacBook

Ok so I’ve tried many things my original problem was this So I was told to copy the music to my cold folder and By doing that my new code below that I copied still is not working but dosent say error it just shows a blank time of -00.00 am I messing up somewhere <audio controls> <source src="file:///Users/home/Documents/Audio/Shake%20it%20off.mp3" type="audio/mpeg"> </audio> —————————————————————————- Like I said that was my original problem and the solution I was offered was to type pwd into my Mac terminal to find the path of the file which I did and the path was /users/home So I tried this code: <audio controls><source src=“/users/home/Shake it off.mp3” type=“audio/mpeg”> and this dint work —————————————————————————— So next I did some looking online and it suggested I drag the file to Mac terminal and and it should show me a path and I got this but it don’t work either so I ask again is there something that I’m doing wrong <audio controls> <source src="/Users/home/Documents/Audio/Shake\ it\ off.mp3 " type="audio/mpeg"> </audio>

17th May 2019, 2:58 PM
Joe Trotter
Joe Trotter - avatar
1 Answer
+ 1
You can find the path to any file from Finder by cmd-click on the folder's icon in the title bar. Drag the icon to a terminal window and you don't have to type it out.
22nd May 2019, 8:52 AM
::sк::
::sк:: - avatar