Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including generator-vlcj with all npm packages installed. Try it out:

var generatorVlcj = require("generator-vlcj")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

generator-vlcj v1.0.2

Create a vlcj project that uses Maven

generator-vlcj NPM version

Create a vlcj project that uses Maven

Installation

First, install Yeoman and generator-vlcj using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-vlcj

Then generate your new project:

yo vlcj

Instructions

Yeoman will ask you a number of questions that will be used to tailor the generated project how you want it.

The generated project contains an example main class with the bare minimum code necessary to get a working vlcj media player.

There are two project variations - one uses the vlcj media player "component" framework, the other uses a media player factory.

The version that uses the component framework is a bit simpler as the component framework encapsulates the creation of a media player factory and a video surface.

The version that does not use the component framework shows explicitly creating a media player factory, a video surface and a media player.

Both approaches are valid and current with vlcj, use whichever one suits you best.

Your generated project can be built the usual way using mvn install.

License

GPL-3.0 © capricasoftware

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free