updated cleanup in videoPlayer