frang75 / nappgui_src

SDK for building cross-platform desktop apps in ANSI-C
https://www.nappgui.com
MIT License
442 stars 43 forks source link

Video support #128

Open xbowzone opened 1 month ago

xbowzone commented 1 month ago

I propose for video support implementation. Or maybe just a way to glue something like mpv by drawing in canvas or something. I'm not experienced with low level logic so please tell me a way to do it if it can be done already without much difficulty.

frang75 commented 1 month ago

The VideoView must to be a core NAppGUI component. Meanwhile, it could connect to a View through the native component. view_native() will return a HWND, GtkWidget or NSView depending on each platform.