YouTubeSource

Constructor

YouTubeSource(): YouTubeSource

Properties

.name

Type: string

Methods

getStream(track: Track): Promise

Get stream URL for a track

isURL(query: string): boolean

Check if query is a URL

validate(query: string): boolean

Validate if the URL belongs to this source