1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
Daniel Neto 2025-02-11 14:49:01 -03:00
parent c95f5366cf
commit 894f3292d3
3 changed files with 9 additions and 5 deletions

View file

@ -92,7 +92,7 @@
header('Content-Type: application/json'); header('Content-Type: application/json');
require_once __DIR__ . "/../../../objects/functionsStandAlone.php"; require_once __DIR__ . "/../../../objects/functionsStandAlone.php";
require __DIR__.'/functions.php'; require __DIR__ . '/functions.php';
_error_log("Script initiated: FFMPEG command execution script started"); _error_log("Script initiated: FFMPEG command execution script started");
@ -291,7 +291,7 @@ if (!empty($codeToExec->test)) {
if (is_dir($folderPath)) { if (is_dir($folderPath)) {
_error_log("deleteFolder error $folderPath"); _error_log("deleteFolder error $folderPath");
}else{ } else {
_error_log("deleteFolder success $folderPath"); _error_log("deleteFolder success $folderPath");
} }
@ -333,7 +333,7 @@ if (!empty($codeToExec->test)) {
'unlink' => $unlink, 'unlink' => $unlink,
]); ]);
exit; exit;
}else if (!empty($codeToExec->isKeywordRunning)) { } else if (!empty($codeToExec->isKeywordRunning)) {
_error_log("Checking for running FFmpeg process with keyword: $codeToExec->isKeywordRunning"); _error_log("Checking for running FFmpeg process with keyword: $codeToExec->isKeywordRunning");
$list = listFFmpegProcesses($codeToExec->isKeywordRunning); $list = listFFmpegProcesses($codeToExec->isKeywordRunning);

View file

@ -27,6 +27,10 @@ if ($removeAnimation || !empty($advancedCustom->disableAnimations)) {
overflow: hidden; overflow: hidden;
} }
body.playingShorts .hideOnPlayShorts {
display: none;
}
#ShortsPlayerContent { #ShortsPlayerContent {
position: fixed; position: fixed;
top: 0; top: 0;

View file

@ -1,5 +1,5 @@
<!-- Back to Top Button --> <!-- Back to Top Button -->
<div class="floatingRightBottom"> <div class="floatingRightBottom hideOnPlayShorts">
<button id="back-to-top" class="btn btn-primary circle-menu" title="Back to Top"> <button id="back-to-top" class="btn btn-primary circle-menu" title="Back to Top">
<i class="fa fa-arrow-up fa-2x"></i> <i class="fa fa-arrow-up fa-2x"></i>
</button> </button>