Skip to content
← Back to Community
Js not playing downloaded mp3 file
Profile icon
AndrewKoch

The code is haphazard, I know. I have set up a function to play a sound when a button is clicked. However, it won't work. It has worked with an https mp3 link, but I would like it were to play from the file alone.

Line 27 for brevity

Voters
Profile icon
AndrewKoch
Comments
hotnewtop
Profile icon
InvisibleOne

Drag and drop the sound file to the files section on the left side of the repl to be able to use sounds

Profile icon
AndrewKoch

@InvisibleOne Oh, forgot about that lol, thank you for the help!

Profile icon
AloegelhiPlaysR

woop.mp3 the audio you're attempting to play was not uploaded.

Profile icon
SixBeeps

You never uploaded woop.mp3

Profile icon
noahhhn

I still can't figure out exactly what the problem is. Programming is still too complicated since I just entered the university and did not understand this topic. The only thing I can tell you is that you can view the code page in the services like https://x2convert.mymp3.red/ since what you are looking for should be spelled out there. Or we will have to wait for someone who can explain how it all needs to be written into the program so that everything works correctly and without errors. Of course, I would like to learn everything faster, but unfortunately, programming is not so easy