aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-06-14 04:33:39 +0200
committerdec05eba <dec05eba@protonmail.com>2021-06-14 04:33:39 +0200
commit977547ff7f0b609291da56df32e5642d10c530cd (patch)
tree6955038ffa72ce6fc5fc32a28bbbec3f8edb9cfb /include
parent642c58f95bdbe2b8d8ac3d52bdaa24e5e28e4e11 (diff)
Properly close the previous video when navigating to another video, for example when doing ctrl+i in a comment and then playing a video
Diffstat (limited to 'include')
-rw-r--r--include/QuickMedia.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 9e24f3c..8be6fa5 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -31,6 +31,7 @@ namespace QuickMedia {
class MatrixChatPage;
class VideoPage;
class Tabs;
+ class VideoPlayer;
enum class ImageViewMode {
SINGLE,
@@ -205,5 +206,6 @@ namespace QuickMedia {
XEvent xev;
std::filesystem::path file_manager_start_dir;
std::string youtube_url;
+ std::unique_ptr<VideoPlayer> video_player;
};
} \ No newline at end of file