Add TVHtml5 client

This commit is contained in:
Samantaz Fox 2022-08-07 00:36:22 +02:00
parent 349d90b60e
commit 618ab01cd7
No known key found for this signature in database
GPG Key ID: F42821059186176E

View File

@ -25,6 +25,7 @@ module YoutubeAPI
IOSEmbedded IOSEmbedded
IOSMusic IOSMusic
TvHtml5
TvHtml5ScreenEmbed TvHtml5ScreenEmbed
end end
@ -96,8 +97,13 @@ module YoutubeAPI
# TV app # TV app
ClientType::TvHtml5 => {
name: "TVHTML5", # 7
version: "7.20220325",
api_key: DEFAULT_API_KEY,
},
ClientType::TvHtml5ScreenEmbed => { ClientType::TvHtml5ScreenEmbed => {
name: "TVHTML5_SIMPLY_EMBEDDED_PLAYER", name: "TVHTML5_SIMPLY_EMBEDDED_PLAYER", # 85
version: "2.0", version: "2.0",
api_key: DEFAULT_API_KEY, api_key: DEFAULT_API_KEY,
screen: "EMBED", screen: "EMBED",