From 894f3292d3eb96aeed6bf9e02a41462b0e669b78 Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Tue, 11 Feb 2025 14:49:01 -0300 Subject: [PATCH] https://github.com/WWBN/AVideo/issues/9876 --- plugin/API/standAlone/ffmpeg.json.php | 6 +++--- plugin/Shorts/player.php | 6 +++++- plugin/TopMenu/floatBackToTop.php | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/plugin/API/standAlone/ffmpeg.json.php b/plugin/API/standAlone/ffmpeg.json.php index bf46014f36..ff636c2654 100644 --- a/plugin/API/standAlone/ffmpeg.json.php +++ b/plugin/API/standAlone/ffmpeg.json.php @@ -92,7 +92,7 @@ header('Content-Type: application/json'); require_once __DIR__ . "/../../../objects/functionsStandAlone.php"; -require __DIR__.'/functions.php'; +require __DIR__ . '/functions.php'; _error_log("Script initiated: FFMPEG command execution script started"); @@ -291,7 +291,7 @@ if (!empty($codeToExec->test)) { if (is_dir($folderPath)) { _error_log("deleteFolder error $folderPath"); - }else{ + } else { _error_log("deleteFolder success $folderPath"); } @@ -333,7 +333,7 @@ if (!empty($codeToExec->test)) { 'unlink' => $unlink, ]); exit; -}else if (!empty($codeToExec->isKeywordRunning)) { +} else if (!empty($codeToExec->isKeywordRunning)) { _error_log("Checking for running FFmpeg process with keyword: $codeToExec->isKeywordRunning"); $list = listFFmpegProcesses($codeToExec->isKeywordRunning); diff --git a/plugin/Shorts/player.php b/plugin/Shorts/player.php index 7d77cefd3a..feaf394ff6 100644 --- a/plugin/Shorts/player.php +++ b/plugin/Shorts/player.php @@ -27,6 +27,10 @@ if ($removeAnimation || !empty($advancedCustom->disableAnimations)) { overflow: hidden; } + body.playingShorts .hideOnPlayShorts { + display: none; + } + #ShortsPlayerContent { position: fixed; top: 0; @@ -455,4 +459,4 @@ if ($removeAnimation || !empty($advancedCustom->disableAnimations)) { console.log("playNextShorts() does not exist in the parent page"); } }); - \ No newline at end of file + diff --git a/plugin/TopMenu/floatBackToTop.php b/plugin/TopMenu/floatBackToTop.php index 14d5445474..54e56e37de 100644 --- a/plugin/TopMenu/floatBackToTop.php +++ b/plugin/TopMenu/floatBackToTop.php @@ -1,5 +1,5 @@ -
+