JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 21
  • Score
    100M100P100Q53264F
  • License MIT

Nodejs module to control omxplayer. Specifically written for the raspberry pi

Package Exports

  • omxplayer

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (omxplayer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

node-omxplayer

Objective

Control omxplayer by node API

Installation

$ npm install omxplayer

Usage

Launch omxplayer :

var configuration = {};
var omxplayer = new OMXPlayer(configuration);

omxplayer.start("movie.mkv", function(error) {
});

omxplayer.on("prop:position", function(newPosition) {
    
});