All I want to know is if it's possible or not! JS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

All I want to know is if it's possible or not! JS

I have been working on something for a while now and I've been having trouble getting it to work. How do I use the input as the audio source? Specifically I am trying to use a file or URL as the src however I need a button to play the audio once it has a working src. I am new to using inbuilt functions like play(). I think there's more such as load() and update (). I stay awake all night trying to get it. Any help would be greatly appreciated 😃.

28th Sep 2021, 1:33 PM
Brian Martinez
Brian Martinez - avatar
1 Answer
0
Yes it is possible. First of all for that you would need to update user audio to your website ( u can do it with PHP quite easily) and then just change audio Input, similarily to: https://stackoverflow.com/questions/10792163/change-audio-src-with-javascript
28th Sep 2021, 3:22 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar