Adding error handler for lack of video object.