diff options
| author | Omar Roth <omarroth@protonmail.com> | 2019-06-05 11:10:23 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2019-06-05 11:10:23 -0500 |
| commit | 8521f0408709b26ce57e707f179721d9f78a6807 (patch) | |
| tree | 68bb21c0017d272af7ad7608d58eba4fbb420980 /src | |
| parent | 8ba45808be779ead6298526f19f446919d3ccf8c (diff) | |
| download | invidious-8521f0408709b26ce57e707f179721d9f78a6807.tar.gz invidious-8521f0408709b26ce57e707f179721d9f78a6807.tar.bz2 invidious-8521f0408709b26ce57e707f179721d9f78a6807.zip | |
Use short URL for sharing videos
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/videos.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr index 99c6df5c..92787fdc 100644 --- a/src/invidious/videos.cr +++ b/src/invidious/videos.cr @@ -1240,7 +1240,7 @@ def process_video_params(query, preferences) quality = query["quality"]? region = query["region"]? related_videos = query["related_videos"]? && (query["related_videos"] == "true" || query["related_videos"] == "1").to_unsafe - speed = query["speed"]?.try &.to_f? + speed = query["speed"]?.try &.rchop("x").to_f? video_loop = query["loop"]?.try &.to_i? volume = query["volume"]?.try &.to_i? |
