[MEDIA][AttachmentThumbnail] Add mimetype to Entity
This commit is contained in:
@@ -57,11 +57,23 @@ class VideoEncoder extends Plugin
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $event_map
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function onResizerAvailable(array &$event_map): bool
|
||||
{
|
||||
//$event_map['video'] = 'ResizeVideoPath';
|
||||
return Event::next;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates the view for attachments of type Video
|
||||
*
|
||||
* @param array $vars
|
||||
* @param array $res
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function onViewAttachmentVideo(array $vars, array &$res): bool
|
||||
|
Reference in New Issue
Block a user