From 6758cdc82e4cb295123b0a84819c6a6ebd5ebad0 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 15 Jul 2022 12:48:38 +0200 Subject: Youtube: do not autoplay next if starting qm with youtube url, opening youtube url in info page or matrix --- plugins/Youtube.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Youtube.hpp') 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 &result_tabs) override; -- cgit v1.2.3