Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Oct 30, 2024
1 parent ebef133 commit a6e8cce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion view/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
7 changes: 7 additions & 0 deletions view/videoEmbeded.php
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,13 @@
}, 500);
});
<?php
if (!empty($_REQUEST['closeOnEnd'])) {
?>
player.on('ended', function() {
$('#CloseButtonInVideo').trigger('click');
});
<?php
}
if ($hideProgressBarAndUnPause) {
?>
player.on('pause', function() {
Expand Down

0 comments on commit a6e8cce

Please sign in to comment.