mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-30 09:10:32 +02:00
Compare commits
1 Commits
SamantazFo
...
tvsimply-c
Author | SHA1 | Date | |
---|---|---|---|
|
4daf1f0818 |
@@ -32,7 +32,7 @@ module Invidious::Frontend::WatchPage
|
|||||||
return String.build(4000) do |str|
|
return String.build(4000) do |str|
|
||||||
str << "<form"
|
str << "<form"
|
||||||
str << " class=\"pure-form pure-form-stacked\""
|
str << " class=\"pure-form pure-form-stacked\""
|
||||||
str << " action='" << URI.encode_www_form(url) << "'"
|
str << " action='#{url}'"
|
||||||
str << " method='post'"
|
str << " method='post'"
|
||||||
str << " rel='noopener'"
|
str << " rel='noopener'"
|
||||||
str << " target='_blank'>"
|
str << " target='_blank'>"
|
||||||
|
@@ -42,6 +42,7 @@ module YoutubeAPI
|
|||||||
|
|
||||||
TvHtml5
|
TvHtml5
|
||||||
TvHtml5ScreenEmbed
|
TvHtml5ScreenEmbed
|
||||||
|
TvSimply
|
||||||
end
|
end
|
||||||
|
|
||||||
# List of hard-coded values used by the different clients
|
# List of hard-coded values used by the different clients
|
||||||
@@ -178,6 +179,11 @@ module YoutubeAPI
|
|||||||
version: "2.0",
|
version: "2.0",
|
||||||
screen: "EMBED",
|
screen: "EMBED",
|
||||||
},
|
},
|
||||||
|
ClientType::TvSimply => {
|
||||||
|
name: "TVHTML5_SIMPLY",
|
||||||
|
name_proto: "74",
|
||||||
|
version: "1.0",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
####################################################################
|
####################################################################
|
||||||
|
Reference in New Issue
Block a user