Page 1 of 1

Do I have to provide my own player UI?

Posted: 21 Nov 2019 21:13
by reactor-cores
I am using SDL2 and experimenting with LibVLC for a personal project. Do I need to develop my own UI library to provide the simple actions like pause, play, and or seek or is this provided within libVLC somehow?

Re: Do I have to provide my own player UI?

Posted: 22 Nov 2019 09:15
by unidan
Hi, yes you need to provide your own UI, but you can use any toolkit for this. if you add the hotkeys control interface you can use the keys like space and arrow keys though.

What do you plan to do with libVLC ?

Re: Do I have to provide my own player UI?

Posted: 22 Nov 2019 19:38
by reactor-cores
Thanks for the response. I'm making a stream sharing app within Electron; felt that HTML5s video capabilities were restricting, especially since one of the big use cases would be able to play Matroska videos. Was planning on experimenting with WASM and getting VLC on to electron, seems tougher than I imagined but will continue experimenting.

Re: Do I have to provide my own player UI?

Posted: 22 Nov 2019 20:04
by unidan
Hi, we're currently building VLC for wasm, though is it still experimental and not finished.

https://code.videolan.org/b1ue/vlc.js

Re: Do I have to provide my own player UI?

Posted: 23 Nov 2019 05:17
by reactor-cores
Yeah I actually saw this a few days ago. The compile script seems to fail when trying to retrieve the portable emscripten SDK (403 forbidden). I noticed that it said it patches sdk as well as actual VLC so I didn't know if I could use my own installation of emscripten.

The other way I was going to go was to use ffmpeg to either change containers or transcode but if I can get VLC working with Electron, that would be amazing.