Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#11519 closed enhancement (fixed)

Support Ogg audio and video file extensions and Internet media types

Reported by: niallkennedy's profile 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 15 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 15 years ago.

Download all attachments as: .zip

Change History (7)

@niallkennedy
15 years ago

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

#1 @scribu
15 years ago

  • Milestone changed from Unassigned to 3.0

+1 on this.

#2 @hakre
15 years ago

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

#3 @hakre
15 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
15 years ago

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

#5 @nacin
15 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.