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 /plugins/Youtube.hpp | |
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 'plugins/Youtube.hpp')
-rw-r--r-- | plugins/Youtube.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp index 5affe04..cea5d8d 100644 --- a/plugins/Youtube.hpp +++ b/plugins/Youtube.hpp @@ -142,7 +142,7 @@ namespace QuickMedia { class YoutubeVideoPage : public VideoPage { public: - YoutubeVideoPage(Program *program, std::string url); + YoutubeVideoPage(Program *program, std::string url, bool autoplay = true); const char* get_title() const override { return ""; } BodyItems get_related_media(const std::string &url) override; PluginResult get_related_pages(const BodyItems &related_videos, const std::string &channel_url, std::vector<Tab> &result_tabs) override; |