From: Mikael Nordfeldth Date: Mon, 14 Apr 2014 11:47:42 +0000 (+0200) Subject: Added some free codecs for media attachments X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=da06350a7287de0ba51f59a3cf1d1fe89d8ed8d0;p=quix0rs-gnu-social.git Added some free codecs for media attachments --- diff --git a/lib/attachmentlist.php b/lib/attachmentlist.php index c0c45a1dbb..209f551c85 100644 --- a/lib/attachmentlist.php +++ b/lib/attachmentlist.php @@ -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,