Added function for outputting media player errors.