RSATom / WebChimera.js

[ABANDONED] libvlc binding for Electron
GNU Lesser General Public License v2.1
661 stars 105 forks source link

Nothing happens when i try to play video on Windows #114

Closed blaremc closed 7 years ago

blaremc commented 7 years ago

I tried to compile and download different versions of webchimera.js and they do the same thing. WebChimera.js is loaded, and everything seems okay. But nothing happens when i call play function. I tried to copy vlc library from VLC install folder too. Also I downloaded wcjs-ugly-demo and it doesn't work too. Windows 7, 10 nwjs 18.8

This is console from ugly player. clip2net_170126002944

RSATom commented 7 years ago

itemCount: 0

It looks like playlist stay empty by some reason... Do you use latest wcjs-ugly-demo? It should log VLC debug messages to console too, but I don't see it.

blaremc commented 7 years ago

This is a screenshot from the latest wcjs ugly demo

RSATom commented 7 years ago

@blaremc, is there any chance you have some old libvlc in your PATH?

blaremc commented 7 years ago

@RSATom i don't think so. If i delete libvlc from node_modules it's show me this error clip2net_170126122249

libvlc.dll version 2.2.2.0 Windows installed on bootcamp

RSATom commented 7 years ago

It looks like you need to read this: https://github.com/RSATom/WebChimera.js/wiki/Latest-Electron-and-NW.js-versions-has-compatibility-issue-on-Windows

blaremc commented 7 years ago

You right it works, but how i fix it in build version?

RSATom commented 7 years ago

Don't understand your question.

RSATom commented 7 years ago

It can't be fixed. It's libvlc internal issue. All you can do - set VLC_PLUGIN_PATH env variable to workaround bug inside libvlc.

blaremc commented 7 years ago

@RSATom Thanks for help . I mean, I'll create release application (.exe) and all libraries inside exe file. What path I should set? Or I have to copy plugins near exe file?

RSATom commented 7 years ago

libvlc will not work if will be packed inside (same for WebChimera.js.node). So you have to keep it somewhere near your .exe

blaremc commented 7 years ago

Thanks for answers! It works!