Page 1 of 1

is there a function play on window ?

Posted: 11 Jan 2015 05:15
by whatsup
hey all
what i'm after is how to make vlc play/stop/pause ... a stream on a window handle i give it, without gui controls
the playback gui controls are mine
vlclib only will react to commands i (the programmer) will send it

something like:

lvclibSTREAM myVideoStream;
myVideoStream = vlclib_open("c:\\myvideo.mpg");
vlclib_playOnHWND(myVideoStream, from, to, myHwnd);
vlclib_pause(myVideoStream);
vldlib_seek(myVideoStream, position);

thanks in advanced

Re: is there a function play on window ?

Posted: 12 Jan 2015 21:46
by mangokm40
Check out the docs for "libvlc_media_player_set_hwnd"