Make WordPress Core

Opened 17 years ago

Closed 17 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: Focuses:

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 17 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 17 years ago.

Download all attachments as: .zip

Change History (7)

@niallkennedy
17 years ago

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

#1 @scribu
17 years ago

  • Milestone Unassigned → 3.0

+1 on this.

#2 @hakre
17 years ago

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

#3 @hakre
17 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.

#4 @johnfjohnf
17 years ago

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

#5 @nacin
17 years ago

  • Resolution → fixed
  • Status new → closed

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

Note: See TracTickets for help on using tickets.