"use client"; import Link from "next/link"; export function VideoNavStrip({ prevHref, nextHref, position, videoId, }: { prevHref?: string; nextHref?: string; position?: { index: number; total: number }; // The umtool front door, when UMTOOL_URL is set on the editor. One link: // "open in umtool" scaffolds a report video from this exact video. umtoolUrl?: string | null; videoId: string; }) { return (
{prevHref ? ( ◀ prev ) : ( )} {position ? `${position.index + 1} / ${position.total} · ${videoId}` : videoId} {nextHref ? ( next ▶ ) : ( )}
); }