From da06350a7287de0ba51f59a3cf1d1fe89d8ed8d0 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 14 Apr 2014 13:47:42 +0200 Subject: [PATCH] Added some free codecs for media attachments --- lib/attachmentlist.php | 3 +++ 1 file changed, 3 insertions(+) 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,