[MEDIA][AttachmentThumbnail] Add mimetype to Entity

This commit is contained in:
2021-07-22 21:17:23 +01:00
committed by Hugo Sales
parent 41dcef3c7b
commit a5348f2427
3 changed files with 21 additions and 7 deletions

View File

@@ -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