Simply start vlc.exe (included in the module) process
const child = require('vlc-player')( ['path/to/video.mp4'] );
// vlc is started
// child is a dummy nodejs process
setTimeout(function(){
child.kill();
}, 1000);
The indent of this module is mostly to provide binaries for windows, linux equivalent (that we explicitly require at the application level) is a "dummy" :
'use strict';
var cp = require('child_process');
var vlc_path = require('nyks/path/which')('vlc');
module.exports = function(/* args, options */) {
return cp.spawn.bind(null, vlc_path).apply(null, arguments);
}
- Nothing special (very dummy module)
vlc, vlc-win32, vlc-binaries, mp4, ffmpeg, "Let's have a beer and talk in Paris"