summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-10-09 08:08:52 -0500
committerOmar Roth <omarroth@hotmail.com>2018-10-09 08:08:52 -0500
commit2dbe151ceb3a7f119df6cfe8ef831e5d78af7211 (patch)
tree1aa855efefce56f5cad29829b56e27778c8c1bd5 /src
parente2c15468e021b57b99e53b979dbc05670b8b8aeb (diff)
downloadinvidious-2dbe151ceb3a7f119df6cfe8ef831e5d78af7211.tar.gz
invidious-2dbe151ceb3a7f119df6cfe8ef831e5d78af7211.tar.bz2
invidious-2dbe151ceb3a7f119df6cfe8ef831e5d78af7211.zip
Add speed param to playlist redirect
Diffstat (limited to 'src')
-rw-r--r--src/invidious/views/watch.ecr3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr
index 7df3794b..4a4c2543 100644
--- a/src/invidious/views/watch.ecr
+++ b/src/invidious/views/watch.ecr
@@ -185,6 +185,9 @@ function get_playlist() {
<% if params[:autoplay] %>
+ "&autoplay=1"
<% end %>
+ <% if params[:speed] %>
+ + "&speed=1"
+ <% end %>
);
});
}