diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-09-15 18:52:40 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-09-15 18:52:40 +0200 |
commit | d7f736bde209e9a77844060cfd9b27122f7ca53f (patch) | |
tree | 4242aa8db6828b3740b7499dbdfb8d959281bb61 /src/QuickMedia.cpp | |
parent | adcbb9e464bb9033e406008ea9cd209486a292aa (diff) |
Reset timestamp when going to next youtube video, copy download url on ctrl-c for youtube
Diffstat (limited to 'src/QuickMedia.cpp')
-rw-r--r-- | src/QuickMedia.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index 38ff610..1095aaa 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -2995,7 +2995,7 @@ namespace QuickMedia { sf::Clock cursor_hide_timer; auto save_video_url_to_clipboard = [this, video_page]() { - std::string url = video_page->get_url(); + std::string url = video_page->get_download_url(get_largest_monitor_height(disp)); if(video_url_supports_timestamp(url)) { double time_in_file = 0.0; if(video_player && (video_player->get_time_in_file(&time_in_file) != VideoPlayer::Error::OK)) |