diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-05-10 22:45:06 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-05-10 22:45:06 +0200 |
commit | d0db77ebc9a21db33258d050c5956960808c730a (patch) | |
tree | cf0731cb50e74f527ad2aea2e6dc4de8f20f902e | |
parent | cdf8d103f1ed6a932eb30b589b578d23ca66a514 (diff) |
Use correct video url when copying to clipboard/saving when navigating to next video
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | src/QuickMedia.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -21,8 +21,6 @@ Add setting to disable sending typing events to the server (matrix). Take code from dchat to support gifs (inline in text) and support animated webp (either animated or as a static thumbnail). Scrolling in images still messes up the |current| page sometimes, need a way to fix this. Show filename at the bottom when viewing an image/video on 4chan. -Add ctrl+c keybinding to copy the url of the previewing image. -Add ctrl+c keybiding to copy the url to the currently selected post on 4chan. Use https://github.com/simdjson/simdjson as a json library in other parts than matrix. Sanitize check: do not allow pasting more than 2gb of text. Implement mentions in matrix with an autofill list, like on element. Also do the same with / commands. diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 92c259e..f4ee68f 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -2412,6 +2412,7 @@ namespace QuickMedia { } video_url = video_page->url_get_playable_url(new_video_url); + original_video_url = video_url; video_title = std::move(new_video_title); load_video_error_check(false); } else if(update_err != VideoPlayer::Error::OK) { |