Opened 3 years ago

Closed 3 years ago

#11519 closed enhancement (fixed)

Support Ogg audio and video file extensions and Internet media types

Reported by: niallkennedy Owned by:
Priority: normal Milestone: 3.0
Component: Upload Version:
Severity: normal Keywords: has-patch
Cc:

Description

Add support for the oga file extension for Ogg audio. Add Ogg video (.ogv, video/ogg) as a known and accepted video type.

Based on official file extensions and MIME declarations from Xiph:
http://wiki.xiph.org/MIME_Types_and_File_Extensions

Affects accepted MIME array in wp-includes/functions.php .

Attachments (2)

functions.diff (1.3 KB) - added by niallkennedy 3 years ago.
add oga as a supported audio/ogg file extension. add support for ogg video.
wordpress_ogg_mimetype_support.patch (1.4 KB) - added by johnfjohnf 3 years ago.

Download all attachments as: .zip

Change History (7)

add oga as a supported audio/ogg file extension. add support for ogg video.

  • Milestone changed from Unassigned to 3.0

+1 on this.

+1 on this. Reviewed the patch, looks good to me. Thanks for taking care!

Has been partially applied in [12581] some days ago.

Related: #7225, #8194

Needed types need to be rechecked against current trunk and a new patch needs to be created. Should be committed then.

Here is a new patch which adds ogv and oga against current trunk

  • Resolution set to fixed
  • Status changed from new to closed

(In [13349]) Support Ogg audio and video file extensions. Fixes #11519 props niallkennedy

Note: See TracTickets for help on using tickets.