Skip to content
Sign upLog in

How do you get a audio file to play in the index.html?

Profile icon

i am collaborating with another user and i am wondering how you would get a audio file to play in the index.html.
where would i have to go and what would i code to get the audio to play?

You are viewing a single comment. View All
Profile icon

Hmmm... I haven't done that before. Perhaps in "src" you may need to use the file name in repl rather than the URL

<audio src="filename.mp3" controls>