wcjs-prebuilt | Install pre-built WebChimera | Runtime Evironment library
kandi X-RAY | wcjs-prebuilt Summary
kandi X-RAY | wcjs-prebuilt Summary
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.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Clean up environmental references .
- Download the Webpack package .
- Parses environment variables .
- Get JSON object from JSON .
- Get platform information
- Capitalize first letter
- Format status code
wcjs-prebuilt Key Features
wcjs-prebuilt Examples and Code Snippets
Community Discussions
Trending Discussions on wcjs-prebuilt
QUESTION
I'm trying to include a VLC video playing in my Electron app, which is possible through WebChimera.js. This package is distributed a bit weirdly (to me at least), to use it you need to require wcjs-prebuilt, specify some settings in package.json and configure Webpack to allow importing .node files as explained in this Wiki page for WebChimera.js.
However I believe this Wiki page is outdated, as loaders isn't a valid key anymore in a Webpack config. I'm not very experienced using Webpack so most of this is new to me. Also note that this Wiki explanation used a fork of node-loader, although this fork seems to be merged to the actual node-loader now (?).
I now use this Webpack config:
...ANSWER
Answered 2021-May-15 at 16:41I'm able to get vue electron building with wcjs-prebuilt
using a vue.config.js
like this. You will also need to set the VLC_PLUGIN_PATH
correctly or video won't play.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install wcjs-prebuilt
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page