Check file type of media before playing