I searched for hours and a few days for a good solution to my problem.
First of all, my scenario:
I create a site with Node.js - especially Sails.js. The goal is to have a list of mp3 files of my directory on the server side (this has already been done), which are letters as links on the client side (website).
When I click on one link, I want the file to be loaded into my HTML Audio tag (or if the best Node.js solution with start / stop control would be nice too).
And what a problem I'm living in now ...
As I said, I was looking for several days now for the best or most common solution to this problem .. but at the moment there are no useful guides or suggestions for solving this problem.
I found many modules, but they ( if I understood it correctly ) are only for playing sound on the server side ... For example: https://github.com/TooTallNate/node-speaker
The solution that is most suitable can be the http://binaryjs.com module . But he says that it has limited compatibility:
Currently supports Chrome 15+ and Firefox 11+, IE10. Reserves that Safari, mobile iOS and Android will support, as well as older FF / Chrome versions are in operation
So I'm not sure that I use it.
So my question is:
Is there anyone who has already built something similar or an idea to solve this scenario? Which module could do the job at best? Or does anyone have any experience with binary.js?
, - , : P
!