Player with adium sent by the user

Asked

Viewed 63 times

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>
inserir a descrição da imagem aqui

  • 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?

  • Good evening Rafael! So far only HTML/CSS.

  • But not even a pure javascript? Javascript has a way!

  • Can be done by adding the event ended with the JS.

  • try this http://kithomepage.com/sos/reproduzirr-player.htm

  • 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?

  • You want the user to send the file to the server and play?

  • That’s right! Exactly! D

  • Only with javascript, HTML/CSS is not possible, your server supports PHP?

  • If you have a server that supports PHP I have this template http://kithomepage.com/upload_img/upload.html

  • Opa Leo! That’s what I was looking for!! Thanks brother!!

Show 6 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.