added callbacks for external media states