--- import type { EndpointVideoPreview } from "src/shared/payload/endpoint-types"; import { formatLocale } from "src/utils/format"; interface Props { video: EndpointVideoPreview; class?: string | undefined; } const { video: { url, thumbnail, mimeType, subtitles }, ...otherProps } = Astro.props; --- {/* ------------------------------------------- HTML ------------------------------------------- */} {/* ------------------------------------------- CSS -------------------------------------------- */}