Skip to content

VideoInfo

Property Type Description
captionTracks readonly CaptionTrack[] Empty when the video has no captions.
client Client -
expiresAt number Epoch ms after which the format URLs stop working.
formats readonly VideoFormat[] -
hlsManifestUrl string | undefined -
playableAt number Epoch ms before which an enforced preroll keeps media requests at 403.
playerResponse unknown The raw InnerTube player response, for fields ytdl-core does not model.
relatedVideos readonly VideoSummary[] -
sabr { config: string; url: string; } | undefined The SABR session that streams formats without a url.
videoDetails VideoDetails -
visitorData string | undefined The visitor ID the formats were resolved with; undefined when signed in.