jaruba/wcjs-player

TypeError: Cannot set property 'setting' of undefined

arenabg opened this issue · 4 comments

I am using nwjs-sdk-v0.15.0-win-ia32.zip with WebChimera.js_v0.2.5_nw_v0.15.0_VLC_v2.2.3_ia32_win.zip from RSATom prebuilt releases

i can see the player loading the UI, but right before play there is a error:

C:\node\node_modules\wcjs-player\index.js:631 Uncaught TypeError: Cannot set property 'setting' of undefined

which corresponds to:

this.vlc.playlist.items[this.itemCount()-1].setting = "{}";

in index.js of wcjs-player

May be some updates in the VLC libs ?

It's a plausible theory, Ivo. And if your right, that can cause major problems with all future versions of VLC.

I've never seen it before, so I don't know what to tell you.. Try VLC 2.2.1..

I've caught this error myself now, @RSATom , there is a really big issue with WebChimera.js v0.2.5 in combination with VLC 2.2.3.

I downloaded:
WebChimera.js_v0.2.5_electron_v0.33.9_VLC_v2.2.3_ia32_win.zip

No errors loading WebChimera.js

But these two commands do nothing:

wcjs.playlist.add('http://archive.org/download/CartoonClassics/Krazy_Kat_-_Keeping_Up_With_Krazy.mp4')
wcjs.play('http://archive.org/download/CartoonClassics/Krazy_Kat_-_Keeping_Up_With_Krazy.mp4')

wcjs.playlist.items is always 0 after using them, nothing ever gets added to the playlist and playback never starts.

Yep i have see that :) Now its working.

[removed-suspicios-link]