L
L
lfoma2015-07-27 11:09:38
JavaScript
lfoma, 2015-07-27 11:09:38

JavaScript how to process user files without uploading to server?

Good afternoon! Such is the problem - I need to play custom music. the files it throws in the input, but the user->server->user scheme seems a little illogical and inefficient to me.
Is there a way to process (play) user's JS input files BEFORE uploading to the server?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-07-27
Protko @Fesor

www.html5rocks.com/en/tutorials/file/dndfiles
You can open a file, make it a Blob and paste it as a data uri.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question