import { env } from "../../lib/env"; import { JsonLd } from "react-schemaorg"; import PageTitle from "../../components/PageTitle"; import Link from "../../components/Link"; import Video from "../../components/Video"; import { addMetadata } from "../../lib/helpers/metadata"; import type { VideoObject } from "schema-dts"; import mp4 from "./leo.mp4"; import webm from "./leo.webm"; import subtitles from "./subs.en.vtt"; import thumbnail from "./thumbnail.png"; export const metadata = addMetadata({ title: 'Facebook App on "The Lab with Leo Laporte"', description: "Powncer app featured in Leo Laporte's TechTV show.", alternates: { canonical: "/leo", }, }); const Page = () => { return ( <> item={{ "@context": "https://schema.org", "@type": "VideoObject", name: metadata.title as string, description: metadata.description as string, contentUrl: `${env.NEXT_PUBLIC_BASE_URL}${webm}`, thumbnailUrl: `${env.NEXT_PUBLIC_BASE_URL}${thumbnail.src}`, embedUrl: `${env.NEXT_PUBLIC_BASE_URL}/leo`, uploadDate: "2007-05-10T00:00:00Z", duration: "PT1M48S", }} /> TheLab.mov