0
Good afternoon, you guys! I have a page that has an area that the user needs to add custom audios in each player. For the purpose I need, a playlist would not be as effective. It would need to be really an audio for each player. Is there a simple way to do this using input, perhaps? I am using the standard player Html5:
<audio class="borda-player" src="audios/nas-maos-do-oleiro-pb.mp3" controls></audio>
Thalles do you want to change src dynamically? It could be with an input text field in his onblur event. You are using this jquery project?
– Rafael Salomão
Good evening Rafael! So far only HTML/CSS.
– Thalles Oliveira
But not even a pure javascript? Javascript has a way!
– user60252
Can be done by adding the event ended with the JS.
– Valdeir Psr
try this http://kithomepage.com/sos/reproduzirr-player.htm
– user60252
Leo, that’s exactly it! I tried to change the "input text" to "input file" to upload the file instead of url, but I didn’t succeed. Could give me a light?
– Thalles Oliveira
You want the user to send the file to the server and play?
– user60252
That’s right! Exactly! D
– Thalles Oliveira
Only with javascript, HTML/CSS is not possible, your server supports PHP?
– user60252
If you have a server that supports PHP I have this template http://kithomepage.com/upload_img/upload.html
– user60252
Opa Leo! That’s what I was looking for!! Thanks brother!!
– Thalles Oliveira