Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Latest Electron and NW.js versions has compatibility issue on Windows

Sergey Radionov edited this page May 31, 2016 · 4 revisions

Short version

libvlc can't find plugins when WebChimera.js using with latest Electron/NW.js

Possible workarounds:

  1. place path to libvlc.dll to PATH env variable (but you should not have libvlc.dll near the WebChimera.js.node file then)
  2. set VLC_PLUGIN_PATH environment variable before Electron/NW.js launch. For example inside .bat/.cmd file
  3. in Electron set VLC_PLUGIN_PATH environment variable via JS before main window load:
process.env['VLC_PLUGIN_PATH'] = path.join(__dirname, 'node_modules/webchimera.js/plugins')

Long version