Open kazemihabib opened 8 years ago
Your pointing me to an angular
project file, unless you tell me where that error comes from in my own code, then I have no chance at debugging this.
actully even when I just add <script src="../../node_modules/wcjs-player/index.js"></script>
in my html page it gives me this error and I think I should first fix this:
and I don't know why in the second error it looks for that file there.
That error is because you need <style></style>
in your index.html
's header
The general.css
error is because the path to the css file seems to break in your developer environment somehow. That's defined and used here:
https://github.com/jaruba/wcjs-player/blob/master/index.js#L32
https://github.com/jaruba/wcjs-player/blob/master/index.js#L39-L40
If you find a way to make that code work for your case too, while not breaking other uses cases, I'd be happy to see a PR for it.
I fixed the general.css
temprorarily just for my use case.but I got this error:
Error: Module version mismatch. Expected 47, got 43.
when I add var player = new wjs("#player").addPlayer({ autoplay: true });
Error: Module version mismatch. Expected 47, got 43.
This error means that you've built or downloaded WebChimera.js.node
for a different version of Electron or NW.js then the version you are actually using.
I found that webchimera builds by default for nwjs so I go to the webchimera folder and run the ./build-electron.sh
but it gives the error again so I changed the version of electron in it and problem solved.
but now It does not playing and just shows buffering 0%
. (I think there is problem again with systemjs)
and when I try with https://archive.org/download/electricsheep-flock-244-32500-2/00244%3d32592%3d22973%3d22551.avi
the buffer completes with 100% but show nothing and in the terminal "[h264 @ 0x1887a5585880] The maximum value for lowres supported by the decoder is 0
".
If your on Windows, download and run DebugView, try to play it again, then check the DebugView window for the VLC log.
no im on linux do you have any idea to for linux?
Should be shown in the terminal then.. uhm.. the error you mentioned seems to relate to a ffmpeg crash, so it's not related to WebChimera.js, but to VLC. You can try installing the latest VLC.
Or try other links too.. It may be related to avi specifically.
i tried with other links but throws the same error
I have no knowledge of this error, @RSATom might know more.
@kazemihabib, what Electron version do you use?
i'm using 37.8
then it's known issue: https://github.com/RSATom/WebChimera.js/issues/69
I got this errror: angular-pollyfills.js:285 Cannot read property 'context' of undefined