summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com>2020-12-29 13:55:19 +0000
committerGitHub <noreply@github.com>2020-12-29 13:55:19 +0000
commita06dfaf82a7f643ccd95d5e114f84cf8eb739cb1 (patch)
tree83c25550427e2a57a0a12447c2427268e5f77296 /src
parentb19524d56a49c01ec72deb33bfb423ac25721ffc (diff)
parentdfd5e3001584c49b662f3a99470d63e88053dfc7 (diff)
downloadinvidious-a06dfaf82a7f643ccd95d5e114f84cf8eb739cb1.tar.gz
invidious-a06dfaf82a7f643ccd95d5e114f84cf8eb739cb1.tar.bz2
invidious-a06dfaf82a7f643ccd95d5e114f84cf8eb739cb1.zip
Merge pull request #1618 from saltycrys/fix-video-mode-button
Fix Video Mode Button
Diffstat (limited to 'src')
-rw-r--r--src/invidious/routes/watch.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/routes/watch.cr b/src/invidious/routes/watch.cr
index 7225c17f..a5c05c00 100644
--- a/src/invidious/routes/watch.cr
+++ b/src/invidious/routes/watch.cr
@@ -30,7 +30,7 @@ class Invidious::Routes::Watch < Invidious::Routes::BaseRoute
embed_link = "/embed/#{id}"
if env.params.query.size > 1
- embed_params = env.params.query.dup
+ embed_params = HTTP::Params.parse(env.params.query.to_s)
embed_params.delete_all("v")
embed_link += "?"
embed_link += embed_params.to_s