lamo2k123 / wcjs-prebuilt

Install pre-built WebChimera.js with bundled VLC for Electron

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebChimera.js Prebuilt

badge

Install WebChimera.js prebuilt binaries for Electron using npm. This module allows you to set-up WebChimera.js + embedded VLC without compilation / additional steps.

WebChimera.js is a node.js binding to libvlc. You can use it to play video using a JS raw array buffer drawn via WebGL.

Installation

npm install wcjs-prebuilt

You can install the module for another platform than the one you're running - for example if you want to package your application for another OS. To do that, use the WCJS_PLATFORM, WCJS_ARCH environment variables. You can also tweak WebChimera.js version through WCJS_VERSION.

For example, to install for Windows under any OS, use

WCJS_PLATFORM=win WCJS_ARCH=ia32 WCJS_RUNTIME=nw.js npm install wcjs-prebuilt

Currently supported platforms are osx, win, and linux.

Currently supported runtimes:

  • electron / electron44 - Electron 0.29.x, based on chromium 44
  • electron45 - electron 0.31.x, based on chromium 45
  • nw.js - latest NW.js

Programmatic usage

var wcjs = require("wcjs-prebuilt");
// wcjs is WebChimera.js

Used in (ordered by date of adoption)

(please PR other use cases)

About

Install pre-built WebChimera.js with bundled VLC for Electron


Languages

Language:JavaScript 100.0%