Update videos.php

This commit is contained in:
Shimon Newman
2023-04-22 22:45:59 +03:00
committed by GitHub
parent 89dfbfba25
commit 38c64996ac
+4 -1
View File
@@ -671,7 +671,10 @@ class VideosV1 extends Worker
$attr['resolution'] = $parts[1];
break;
case str_contains($parts[0], 'CODECS'):
$attr['codecs'] = $parts[1] . ',' . $attributes[$key + 1];
$attr['codecs'] = $parts[1];
if(!empty($attributes[$key + 1])){
$attr['codecs'] .= ',' . $attributes[$key + 1];
}
break;
}
}