Make WordPress Core

Opened 13 years ago

Closed 12 years ago

Last modified 8 years ago

#24434 closed enhancement (fixed)

[Network Settings] - Add mp4 file extension to allowed upload file type

Reported by: alexvorn2 Owned by: wonderboymusic
Priority: normal Milestone: 4.0
Component: Upload Version:
Severity: normal Keywords: easy-fix has-patch 3.7-early
Cc: Focuses: multisite

Description

in network settings, allowed file types are: jpg jpeg png gif mp3 mov avi wmv midi mid pdf. but no mp4!

Attachments (2)

24434.diff​ (580 bytes ) - added by sunnyratilal 13 years ago.
24434.2.diff​ (1.0 KB ) - added by wonderboymusic 12 years ago.

Download all attachments as: .zip

Change History (19)

#1 @SergeyBiryukov
13 years ago

  • Component Media → Multisite
  • Keywords needs-patch easy-fix added

@sunnyratilal
13 years ago

#2 @sunnyratilal
13 years ago

  • Keywords has-patch added; needs-patch removed

#3 @SergeyBiryukov
13 years ago

  • Keywords 3.7-early added
  • Milestone Awaiting Review → Future Release
  • Type defect (bug) → enhancement

#4 @rmarks
13 years ago

I was able to successfully test this after increasing default file upload size beyond 2MB.

#5 @wonderboymusic
13 years ago

  • Milestone Future Release → 3.7

these are all marked 3.7-early

#6 @hotchkissconsulting
13 years ago

  • Cc hotchkissconsulting added

Works properly for me in latest version of trunk

#7 @nacin
13 years ago

The list we allow in multisite seems arbitrary. Why mp4 but not m4v, or ogv, etc? I think it would be good to come up with some kind of policy, standard, rhyme, or reason for what this list should consist of, now and in the future.

#8 @jeremyfelt
13 years ago

I wonder if there's data available from WordPress.com on what upload types are most commonly used when enabled or from the support forums on what types are often assumed to be there.

#9 @nacin
13 years ago

  • Milestone 3.7 → Future Release

This is what is enabled on WordPress.com: jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx, key. With the space upgrade: mp3, m4a, wav, ogg. Don't know what is specifically whitelisted for video when you buy the Video upgrade.

I'm fine with making a change here but let's be smart about it. Moving this to future until there is a consensus.

#10 @jeremyfelt
13 years ago

  • Component Multisite → Upload
  • Focuses multisite added

#11 @wonderboymusic
12 years ago

  • Milestone Future Release → 4.0

Multisite is so weird

#12 @designsimply
12 years ago

Don't know what is specifically whitelisted for video when you buy the Video upgrade.

With the WordPress.com VideoPress upgrade: ogv, mp4, m4v, mov, wmv, avi, mpg, 3gp, 3g2
​http://en.support.wordpress.com/videopress/#frequently-asked-questions

Multisite is so weird

This is my favorite Trac comment of the day. :)

#13 @wonderboymusic
12 years ago

24434.2.diff​ brings this list into modernity

This ticket was mentioned in IRC in #wordpress-dev by wonderboymusic. ​View the logs.


12 years ago

#15 @wonderboymusic
12 years ago

jpg jpeg png gif mov avi mpg 3gp 3g2 midi mid pdf doc ppt odt pptx docx pps ppsx xls xlsx key mp3 ogg wma m4a wav mp4 m4v webm ogv wmv flv is the resulting value

#16 @wonderboymusic
12 years ago

  • Owner set to wonderboymusic
  • Resolution → fixed
  • Status new → closed

In 28832:

Bring the list of upload_filetypes for multisite into modernity based on .com upgrades and supported extensions for audio and video.

Fixes #24434.

This ticket was mentioned in ​Slack in #core-media by jjj. ​View the logs.


8 years ago

Note: See TracTickets for help on using tickets.