Options
All
  • Public
  • Public/Protected
  • All
Menu

Class for YouTube Video url

Hierarchy

  • YouTubeVideo

Index

Constructors

constructor

Properties

Optional channel

channel?: YouTubeChannel

Optional description

description?: string

dislikes

dislikes: number

durationInSec

durationInSec: number

durationRaw

durationRaw: string

Optional id

id?: string

likes

likes: number

live

live: boolean

private

private: boolean

tags

tags: string[]

Optional thumbnail

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

Type declaration

  • height: undefined | number
  • id: undefined | string
  • url: undefined | string
  • width: undefined | number

Optional title

title?: string

type

type: "video" | "playlist" | "channel"

Optional uploadedAt

uploadedAt?: string

url

url: string

views

views: number

Accessors

toJSON

toString

  • get toString(): string

Generated using TypeDoc