mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
0a370ffdc0
commit
71f3273aee
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ class AI extends PluginAbstract
|
|||
$videoDuration = $video->getDuration_in_seconds();
|
||||
$diff = abs($videoDuration - $durationInSeconds);
|
||||
$tenPercentOfVideoDuration = $videoDuration * 0.1; // 10% of $videoDuration
|
||||
if ($diff < $tenPercentOfVideoDuration) {
|
||||
if ($diff > $tenPercentOfVideoDuration) {
|
||||
|
||||
$f = convertVideoFileWithFFMPEGIsLockedInfo($paths['path']);
|
||||
if ($f['isUnlocked']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue