Skip to content

parseVideoId

parseVideoId(input): string | undefined

The 11-character video ID of a bare ID or a YouTube watch, short, embed, live or youtu.be URL.

Parameter Type
input string

string | undefined