omxobj
Object oriented omxplayer wrapper for Raspberry PI. This will allow multiple videos playing at the same time. This wrapper has the ability to track the progress as well.
Installation
npm install omxjob
Create an object
omxobj;
Available options:
layer
hardwareAudioDecoding
enable3D
refresh
startPosition
win
orientation
alpha
info
audioOut
audioPassThrough
Refer to omxplayer for more information.
Example
var omxPlayer1 = omxobj;
Methods
.play(filename)
.stop()
.pause()
.volumeUp()
.volumeDown()
Example
var omxobj = ; var omxOverlay = omxobj omxVideo = omxobj; omxOverlay; ; omxVideo; omxVideo;