mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-25 07:42:11 +00:00
feat: add TVHTML5_SIMPLY_EMBEDDED_PLAYER client (#193)
* feat: add `TV_EMBEDDED` client See #191, this should help bypassing some age restricted videos. * dev(VideoInfo): update format options interface * dev: set `clientScreen` to `EMBED` * dev: update API ref * dev: update `Context` interface
This commit is contained in:
@@ -46,9 +46,9 @@ export interface FormatOptions {
|
||||
*/
|
||||
format?: string;
|
||||
/**
|
||||
* InnerTube client, can be ANDROID, WEB or YTMUSIC
|
||||
* InnerTube client, can be ANDROID, WEB, YTMUSIC, YTMUSIC_ANDROID or TV_EMBEDDED
|
||||
*/
|
||||
client?: 'ANDROID' | 'WEB' | 'YTMUSIC'
|
||||
client?: 'ANDROID' | 'WEB' | 'YTMUSIC' | 'YTMUSIC_ANDROID' | 'TV_EMBEDDED'
|
||||
}
|
||||
|
||||
export interface DownloadOptions extends FormatOptions {
|
||||
|
||||
Reference in New Issue
Block a user