--- import type { EndpointVideo } from "src/shared/payload/payload-sdk"; import { formatLocale } from "src/utils/format"; interface Props { video: EndpointVideo; } const { video: { url, thumbnail, mimeType, subtitles }, } = Astro.props; --- {/* ------------------------------------------- HTML ------------------------------------------- */} {/* ------------------------------------------- CSS -------------------------------------------- */}