From a6e8cce8dd27441d5333279f176a3aec9907bbf9 Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Wed, 30 Oct 2024 10:47:24 -0300 Subject: [PATCH] Update --- view/css/main.css | 2 +- view/videoEmbeded.php | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/view/css/main.css b/view/css/main.css index b4beb7b278ce..80941ea08687 100644 --- a/view/css/main.css +++ b/view/css/main.css @@ -919,7 +919,7 @@ img.blur { box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.6); /* Stronger shadow on hover */ } -#CloseButtonInVideo { +body.rtl #CloseButtonInVideo { right: auto; left: 30px; top: 30px; diff --git a/view/videoEmbeded.php b/view/videoEmbeded.php index 9356b4666f1e..26e547683de7 100644 --- a/view/videoEmbeded.php +++ b/view/videoEmbeded.php @@ -554,6 +554,13 @@ }, 500); }); + player.on('ended', function() { + $('#CloseButtonInVideo').trigger('click'); + }); + player.on('pause', function() {