mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
fux
This commit is contained in:
parent
e550893489
commit
ffc6ae6af9
1 changed files with 3 additions and 0 deletions
|
@ -166,10 +166,13 @@ $obj->gifDest_deleteInvalidImage = deleteInvalidImage($obj->gifDest);
|
|||
$obj->webpDest_deleteInvalidImage = deleteInvalidImage($obj->webpDest);
|
||||
|
||||
if (!empty($_REQUEST['duration'])) {
|
||||
_error_log("ReceiveImage: duration NOT empty {$_REQUEST['duration']}");
|
||||
$duration = $video->getDuration();
|
||||
if (empty($duration) || $duration === 'EE:EE:EE') {
|
||||
_error_log("ReceiveImage: duration Line ".__LINE__);
|
||||
$video->setDuration($_REQUEST['duration']);
|
||||
}else if($_REQUEST['duration']!=='EE:EE:EE'){
|
||||
_error_log("ReceiveImage: duration Line ".__LINE__);
|
||||
$video->setDuration($_REQUEST['duration']);
|
||||
}
|
||||
}else{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue