omxplayer
Version:
Nodejs module to control omxplayer. Specifically written for the raspberry pi
26 lines (15 loc) • 340 B
Markdown
Control omxplayer by node API
$ npm install omxplayer
Launch omxplayer :
```javascript
var configuration = {};
var omxplayer = new OMXPlayer(configuration);
omxplayer.start("movie.mkv", function(error) {
});
omxplayer.on("prop:position", function(newPosition) {
});
```