Hello douglas222!
Of course you can. libVLC is made for that.
See this tutorial for the basic way to do it.
You can also control the VLC - player by another program. See this example of a video displayed inside another window, written in freeBasic.
regards
grindstone