mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update videos.php
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user