With LibVLC I was able to get the player to work and tie it to a control on the screen. This keeps it from overlapping my program BUT I cannot get the keyboard shortcuts to work. And I think I just discovered why:
Code: Select all
--keyboard-events, --no-keyboard-events
Key press events
(default enabled)
This enables VLC hotkeys from the (non-embedded) video window.
The code is in WinDev and looks like this:
Code: Select all
PROCEDURE PositionSet(rPos is real,bFast is boolean)
API(:sDLL,"libvlc_media_player_set_position",:mp,rPos,bFast)
Code: Select all
PROCEDURE TimeSet(nMSeconds is 8-byte int, bFast is boolean)
nRes is int = API(:sDLL,"libvlc_media_player_set_time",:mp,nMSeconds,bFast)
I don't know if it has anything to do with this but the result from libvlc_media_player_is_playing is 0 and libvlc_media_player_is_seekable is 1.
Thank you.