jaruba / wcjs-player

Node Player made for WebChimera.js (libVLC wrapper)
http://webchimera.org/
GNU Lesser General Public License v2.1
178 stars 46 forks source link

What is wrong !?!?! #73

Closed lukas13on closed 8 years ago

lukas13on commented 8 years ago

I tried to put VLC Player files in (.\node_modules\wcjs-prebuilt\bin), (.\root), and whenever i start the application and nothing happens, it's just black and returns no errors, I'm already two days trying to setup, but it has become easy to hard too fast, and i no longer know what to do.

my system:

im using: wcjs-player -> "version": "6.0.1" wcjs-prebuilt -> "version": "3.0.0" wcjs-renderer -> "version": "1.0.2" electron-prebuilt ->"version": "1.3.2"

I installed with $ npm install wcjs-player $ npm install wcjs-prebuilt

  "wcjs-prebuilt": {
  "runtime": "electron",
  "platform":"win",
  "targetDir":"./bin",
  "arch":"x64"
}

here's my .js

var wjs = require("wcjs-player");
var player = new wjs("#player").addPlayer({
wcjs: require('wcjs-prebuilt')
});

player.vlc.play("http://archive.org/download/CartoonClassics/Krazy_Kat_-_Keeping_Up_With_Krazy.mp4");
player.play();

here's my .html

<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <link rel="stylesheet" type="text/css" href="css/navigation.css"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    </head> 
    <body>
        <div id="player"></div>
        <script>require('./renderer.js');</script>
    </body>
</html>

And when i trie to set a playlist returns a error:

player.addPlaylist("http://archive.org/download/CartoonClassics/Krazy_Kat_-_Keeping_Up_With_Krazy.mp4");

_C:\Users\PirateCom\pirateHangar\node_modules\wcjs-player\index.js:633 Uncaught TypeError: Cannot set property 'setting' of undefined_

Screenshot link

jaruba commented 8 years ago

...\PirateCom\pirateHangar\...

giphy

jaruba commented 8 years ago

anyway, i don't think that WebChimera.js is loaded correctly, please see this issue's comment: https://github.com/jaruba/wcjs-player/issues/72#issuecomment-240388653

lukas13on commented 8 years ago

I will check, update soon

jaruba commented 8 years ago

If it still doesn't work, also try using older Electron versions.

jaruba commented 8 years ago

Please remember to close the issue if it is solved. :)

jaruba commented 8 years ago

presuming it was solved due to inactivity