videosphere
    Preparing search index...
    • Applies one step nudge to a trim handle.

      Parameters

      • value: { startSeconds: number; endSeconds: number }

        Current trim range in seconds.

      • handle: "end" | "start"

        Which handle to move.

      • direction: -1 | 1

        -1 for earlier, 1 for later.

      • durationSeconds: number

        Total source duration in seconds.

      • stepSeconds: number = TRIM_NUDGE_STEP_SECONDS

        Nudge distance in seconds.

      Returns { startSeconds: number; endSeconds: number }

      Updated trim range, or null when the handle cannot move further.