diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-07-15 12:48:38 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-07-15 12:48:38 +0200 |
commit | 6758cdc82e4cb295123b0a84819c6a6ebd5ebad0 (patch) | |
tree | 86ed3a0db9134d72937c813ab037688e581766c4 /src/plugins/Info.cpp | |
parent | 0bf55deae8d8a681b32a1fa91908ed1f566dbbf5 (diff) |
Youtube: do not autoplay next if starting qm with youtube url, opening youtube url in info page or matrix
Diffstat (limited to 'src/plugins/Info.cpp')
-rw-r--r-- | src/plugins/Info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Info.cpp b/src/plugins/Info.cpp index 90c8fe1..252cbea 100644 --- a/src/plugins/Info.cpp +++ b/src/plugins/Info.cpp @@ -42,7 +42,7 @@ namespace QuickMedia { const std::string search_url = "https://www.google.com/search?q=" + url_param_encode(search_term); return open_with_browser(search_url); } else if(is_youtube_url(args.url)) { - result_tabs.push_back(Tab{nullptr, std::make_unique<YoutubeVideoPage>(program, args.url), nullptr}); + result_tabs.push_back(Tab{nullptr, std::make_unique<YoutubeVideoPage>(program, args.url, false), nullptr}); return PluginResult::OK; } else { return open_with_browser(args.url); |