Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

YoutubeVideoDetails

import type { YoutubeVideoDetails } from "https://googleapis.deno.dev/v1/displayvideo:v3.ts";

Details of a YouTube video.

interface YoutubeVideoDetails {
id?: string;
unavailableReason?: "VIDEO_UNAVAILABLE_REASON_UNSPECIFIED" | "VIDEO_UNAVAILABLE_REASON_PRIVATE" | "VIDEO_UNAVAILABLE_REASON_DELETED";
}

§Properties

§
id?: string
[src]

The YouTube video ID which can be searched on YouTube webpage.

§
unavailableReason?: "VIDEO_UNAVAILABLE_REASON_UNSPECIFIED" | "VIDEO_UNAVAILABLE_REASON_PRIVATE" | "VIDEO_UNAVAILABLE_REASON_DELETED"
[src]

The reason why the video data is not available.