How to Upload an MP3

Hi,

Is there a way to upload an MP3 the way I upload an image in wappler? Thanks

I am trying this as well directly on the CODE editor:

       <audio controls>
       <source src="example.mp3" type="audio/mpeg">
       Your browser does not support the audio element.
       </audio>

Hello Neil,
Where are you trying to upload the mp3 file?

1 Like

Hi Teodor, a client wanted to upload an mp3 file from a radio talk they had. They wanted it on the website. By the way, the above code worked. I was just thinking if there is an easy way without the code like that with the image.

If you want to upload files to your server you need to use the File Upload component.

Not sure if that’s what you are trying to do, or you just wanted to include an html5 mp3 player on the page?

1 Like

Hi Teodor,

Sorry it is not. Anyway, what i was trying to accomplish is working now. Was hoping for an easier way for my team to do it.

The resource you gave is a good reference for me though. Now I know wappler has this. Thanks Teodor .

1 Like