Do I have to provide my own player UI?

This forum is about all development around libVLC.
reactor-cores
New Cone
New Cone
Posts: 4
Joined: 21 Nov 2019 21:10

Do I have to provide my own player UI?

Postby reactor-cores » 21 Nov 2019 21:13

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?

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

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

Postby unidan » 22 Nov 2019 09:15

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 ?

reactor-cores
New Cone
New Cone
Posts: 4
Joined: 21 Nov 2019 21:10

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

Postby reactor-cores » 22 Nov 2019 19:38

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.

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

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

Postby unidan » 22 Nov 2019 20:04

Hi, we're currently building VLC for wasm, though is it still experimental and not finished.

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

reactor-cores
New Cone
New Cone
Posts: 4
Joined: 21 Nov 2019 21:10

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

Postby reactor-cores » 23 Nov 2019 05:17

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 24 guests