WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

#11519 closed enhancement (fixed)

Support Ogg audio and video file extensions and Internet media types

Reported by: niallkennedy Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Upload Keywords: has-patch
Focuses: 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 5 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 4 years ago.

Download all attachments as: .zip

Change History (7)

niallkennedy5 years ago

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

comment:1 scribu5 years ago

  • Milestone changed from Unassigned to 3.0

+1 on this.

comment:2 hakre5 years ago

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

comment:3 hakre5 years ago

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.

comment:4 johnfjohnf4 years ago

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

comment:5 nacin4 years ago

  • 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.