@iamtraction/play-dl
    Preparing search index...

    Interface VideoOptions

    interface VideoOptions {
        channel?: YouTubeChannel;
        chapters: VideoChapter[];
        description?: string;
        discretionAdvised?: boolean;
        durationInSec: number;
        durationRaw: string;
        id?: string;
        likes: number;
        live: boolean;
        music?: VideoMusic[];
        private: boolean;
        tags: string[];
        thumbnail?: {
            height: number | undefined;
            url: string | undefined;
            width: number | undefined;
        };
        title?: string;
        upcoming?: true
        | Date;
        uploadedAt?: string;
        url: string;
        views: number;
    }
    Index
    channel?: YouTubeChannel

    YouTube Video's uploader Channel Data

    chapters: VideoChapter[]

    The chapters for this video

    If the video doesn't have any chapters or if the video object wasn't created by video_basic_info or video_info this will be an empty array.

    description?: string

    YouTube Video description.

    discretionAdvised?: boolean

    true if the video has been identified by the YouTube community as inappropriate or offensive to some audiences and viewer discretion is advised

    durationInSec: number

    YouTube Video Duration in seconds

    durationRaw: string

    YouTube Video Duration Formatted

    id?: string

    YouTube Video ID

    likes: number

    YouTube Video's likes

    live: boolean

    YouTube Video live status

    music?: VideoMusic[]

    Gives info about music content in that video.

    The property names of VideoMusic change depending on your region's language.

    private: boolean

    YouTube Video private status

    tags: string[]

    YouTube Video tags

    thumbnail?: {
        height: number | undefined;
        url: string | undefined;
        width: number | undefined;
    }

    YouTube Thumbnail Data

    title?: string

    YouTube Video title

    upcoming?: true | Date

    If the video is upcoming or a premiere that isn't currently live, this will contain the premiere date, for watch page playlists this will be true, it defaults to undefined

    uploadedAt?: string

    YouTube Video Uploaded Date

    url: string

    YouTube video url

    views: number

    YouTube Views