mirror of
https://github.com/iv-org/invidious.git
synced 2025-09-01 18:03:19 +02:00
Compare commits
1 Commits
tvsimply-c
...
SamantazFo
Author | SHA1 | Date | |
---|---|---|---|
|
b0c9f87fbe |
@@ -20,7 +20,7 @@ module Invidious::Routes::Embed
|
|||||||
return error_template(500, ex)
|
return error_template(500, ex)
|
||||||
end
|
end
|
||||||
|
|
||||||
url = "/embed/#{first_playlist_video}?#{env.params.query}"
|
url = "/embed/#{first_playlist_video.id}?#{env.params.query}"
|
||||||
|
|
||||||
if env.params.query.size > 0
|
if env.params.query.size > 0
|
||||||
url += "?#{env.params.query}"
|
url += "?#{env.params.query}"
|
||||||
|
@@ -42,7 +42,6 @@ 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
|
||||||
@@ -179,11 +178,6 @@ 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