mirror of
https://github.com/friendica/friendica
synced 2025-05-06 10:24:10 +02:00
API: The media upload (audio, video) is now possible
This commit is contained in:
parent
e3c782010f
commit
7dc75d585e
9 changed files with 151 additions and 41 deletions
|
@ -39,7 +39,7 @@ class MediaAttachmentsConfig extends BaseDataTransferObject
|
|||
/** @var int */
|
||||
protected $video_size_limit = 0;
|
||||
/** @var int */
|
||||
protected $video_frame_rate_limit = 0;
|
||||
protected $video_frame_rate_limit = 60;
|
||||
/** @var int */
|
||||
protected $video_matrix_limit = 0;
|
||||
|
||||
|
@ -51,5 +51,7 @@ class MediaAttachmentsConfig extends BaseDataTransferObject
|
|||
$this->supported_mime_types = $supported_mime_types;
|
||||
$this->image_size_limit = $image_size_limit;
|
||||
$this->image_matrix_limit = $image_matrix_limit;
|
||||
$this->video_size_limit = $image_size_limit;
|
||||
$this->video_matrix_limit = $image_matrix_limit;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue