partial implementation of the video player (currently lives inside the main window)