ENGLISH·COURSE API
    Preparing search index...
    • A Lecture's video — or nothing.

      Parameters

      • input: {
            lesson: {
                kind: "video";
                title: string;
                description: string;
                durationSeconds: number;
                uploadDate?: string;
                poster?: string;
            };
            siteUrl: string;
            locale: string;
            url: string;
        }
        • lesson: {
              kind: "video";
              title: string;
              description: string;
              durationSeconds: number;
              uploadDate?: string;
              poster?: string;
          }

          The lesson as the catalog holds it

        • siteUrl: string
        • locale: string
        • url: string

          The lesson's absolute URL

      Returns
          | {
              "@context": string;
              "@type": "VideoObject";
              name: string;
              description: string;
              uploadDate: string;
              duration: string;
              contentUrl: string;
              publisher: { "@type": "Organization"; name: string };
              thumbnailUrl?: string;
          }
          | null

      A schema.org VideoObject, or null when the lesson is undated

      Returns null when the lesson declares no uploadDate. Google requires one on VideoObject, so emitting the type without it produces structured data validators reject — worse than emitting none, because invalid markup can suppress the rest of a page's results. Most of the catalog is undated today, which is why the absent case is the common one rather than the edge.