diff options
| author | guidiasz <gui.diasz@hotmail.com> | 2023-12-18 13:23:55 -0300 |
|---|---|---|
| committer | guidiasz <gui.diasz@hotmail.com> | 2023-12-18 13:23:55 -0300 |
| commit | 87a8207f370f20582d6330d9fcf4346fbb4e1ae5 (patch) | |
| tree | c55065e5bed26b60c2ffe5316953df8f6decfa1c /src | |
| parent | 9e8baa35397671aabfc77f6b912c9f1829be52b6 (diff) | |
| download | invidious-87a8207f370f20582d6330d9fcf4346fbb4e1ae5.tar.gz invidious-87a8207f370f20582d6330d9fcf4346fbb4e1ae5.tar.bz2 invidious-87a8207f370f20582d6330d9fcf4346fbb4e1ae5.zip | |
fix: "Watch on YouTube" preserve current playlist
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/views/watch.ecr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index 07474896..cce6115a 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -118,7 +118,7 @@ we're going to need to do it here in order to allow for translations. link_yt_embed = URI.new(scheme: "https", host: "www.youtube.com", path: "/embed/#{video.id}") if !plid.nil? && !continuation.nil? - link_yt_param = URI::Params{"plid" => [plid], "index" => [continuation.to_s]} + link_yt_param = URI::Params{"list" => [plid], "index" => [continuation.to_s]} link_yt_watch = IV::HttpServer::Utils.add_params_to_url(link_yt_watch, link_yt_param) link_yt_embed = IV::HttpServer::Utils.add_params_to_url(link_yt_embed, link_yt_param) end |
