Commit da06350a authored by mmn's avatar mmn

Added some free codecs for media attachments

parent a2a21050
......@@ -322,11 +322,14 @@ class Attachment extends AttachmentListItem
break;
case 'application/ogg':
case 'audio/ogg':
case 'audio/x-speex':
case 'video/mpeg':
case 'audio/mpeg':
case 'video/mp4':
case 'video/ogg':
case 'video/quicktime':
case 'video/webm':
$arr = array('type' => $this->attachment->mimetype,
'data' => $this->attachment->url,
'width' => 320,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment