cleaned up robot video player code