Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Native.loadLibrary(RuntimeUtil.getLibVlcLibraryName(), LibVlc.class);
- MediaPlayerFactory mpf=new MediaPlayerFactory();
- emp=mpf.newEmbeddedMediaPlayer(new Win32FullScreenStrategy(this));
- emp.setVideoSurface(mpf.newVideoSurface(c));
- emp.prepareMedia("Video.mp4");
- emp.play();
Add Comment
Please, Sign In to add comment