media now is only used for zindex a few lines down, which already has a check, so we no longer need this check here, because the check on duration is dead.