]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Added some free codecs for media attachments
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 14 Apr 2014 11:47:42 +0000 (13:47 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 14 Apr 2014 11:52:03 +0000 (13:52 +0200)
lib/attachmentlist.php

index c0c45a1dbb2fdea7c2964bda3db5cecb8f9b2613..209f551c85086a29b956594107b7c1dc11259f60 100644 (file)
@@ -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,