R
R
razzakov2020-01-08 04:33:00
css
razzakov, 2020-01-08 04:33:00

How to upload music to the site not from the cloud (SoundCloud), but locally?

I 'll explain
. I found a ready-made player template, but it plays music from SoundCloud
. How can I make the player include songs that are in my directory?
https://codepen.io/fuzinato/pen/Ywwgxy

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2020-01-08
@Seasle

Cool question. Well, you probably need a server that will tell the client how many and what songs he has. Then you need a streaming functionality for transmitting sound from this server. And a bunch of goodies for sound control. And that's all, if it's a "home" project. Well, yes, tag audio, Web Audio API , Media Session API .

K
Karpion, 2020-01-10
@Karpion

It is necessary to look at what protocol the player takes music from the cloud. And then - either change the protocol, or put the server on this protocol.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question