Code Monkey home page Code Monkey logo

wcjs-prebuilt's Introduction

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.

Configuration

Before installing the package, you may need to configure a few things. Here's the list of configurable items:

  • Target architecture (supported: ia32 / x64. Default value: machine's architecture)
  • Target platform (supported: win / osx. Default value: machine's platform)
  • Target WebChimera version (format: vX.Y.Z. Default value: latest)
  • Target runtime (supported: electron / nw. Default value: electron)
  • Target runtime version (format: vX.Y.Z. Default value: latest available for the target runtime and WebChimera version)
  • Target directory (where to install the binaries. Default value: ./bin)

There are 2 ways you can configure these elements this:

  • With the WCJS_ARCH, WCJS_PLATFORM, WCJS_VERSION, WCJS_RUNTIME, WCJS_RUNTIME_VERSION and WCJS_TARGET_DIR environment variables. Here's an example:
WCJS_RUNTIME=electron WCJS_RUNTIME_VERSION=v0.37.8 WCJS_VERSION=v0.2.4 npm install wcjs-prebuilt
  • By adding a wcjs-prebuilt hash to your root package.json and defining the following keys: arch, platform, version, runtime, runtimeVersion, targetDir. Here's an example:
"wcjs-prebuilt": {
  "runtime": "electron"
  "runtimeVersion": "v0.37.8"
  "version": "v0.2.4"
}

Please note that not all combinations of runtime versions and WebChimera versions are available. You can see a list of available options here

Installation

npm install wcjs-prebuilt

Programmatic usage

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

Used in (ordered by date of adoption)

(please PR other use cases)

wcjs-prebuilt's People

Contributors

guidupuy avatar heartnetkung avatar ivshti avatar jaruba avatar luigiplr avatar shenanigans avatar yalamber avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.