mplayer
mplayer copied to clipboard
How to configure the binary location?
Hi,
how can I configure the binary (mplayer.exe
) location? Or do I need to add mplayer to the PATH?
You put the mplayer.exe in the same location as your app.js (or main run code)
const mplayer = require('mplayer') let debug = {debug: false, verbose: false} //to get debug output on a console) let player = new mplayer(debug);
Your sources can be anywhere (that your server can access!)
player.openFile('path/to/my/test/mp3])
Did I understand your question correctly?