Options
All
  • Public
  • Public/Protected
  • All
Menu

Class for YouTube Video url

Hierarchy

  • YouTubeVideo

Index

Constructors

constructor

Properties

Optional channel

channel?: YouTubeChannel

YouTube Video's uploader Channel Data

Optional description

description?: string

YouTube Video description.

dislikes

dislikes: number

YouTube Video's dislikes

durationInSec

durationInSec: number

YouTube Video Duration in seconds

durationRaw

durationRaw: string

YouTube Video Duration Formatted

Optional id

id?: string

YouTube Video ID

likes

likes: number

YouTube Video's likes

live

live: boolean

YouTube Video live status

private

private: boolean

YouTube Video private status

tags

tags: string[]

YouTube Video tags

Optional thumbnail

thumbnail?: YouTubeThumbnail

YouTube Thumbnail Data

Optional title

title?: string

YouTube Video title

type

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

YouTube Class type. == "video"

Optional uploadedAt

uploadedAt?: string

YouTube Video Uploaded Date

url

url: string

YouTube video url

views

views: number

YouTube Views

Methods

toJSON

toString

  • toString(): string

Generated using TypeDoc