Skip to content

parsePlaylistId

parsePlaylistId(input): string | undefined

The playlist ID of a bare ID or a YouTube URL’s list parameter; undefined for account lists such as WL, for mixes, whose IDs start with RD, and for channels. YouTube Music’s curated lists, which start with RDCLAK5uy_, are playlists.

Parameter Type
input string

string | undefined