Make WordPress Core

Opened 12 years ago

Closed 10 years ago

Last modified 6 years ago

#24434 closed enhancement (fixed)

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

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

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 12 years ago.
24434.2.diff (1.0 KB) - added by wonderboymusic 10 years ago.

Download all attachments as: .zip

Change History (19)

#1 @SergeyBiryukov
12 years ago

  • Component changed from Media to Multisite
  • Keywords needs-patch easy-fix added

@sunnyratilal
12 years ago

#2 @sunnyratilal
12 years ago

  • Keywords has-patch added; needs-patch removed

#3 @SergeyBiryukov
12 years ago

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

#4 @rmarks
11 years ago

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

#5 @wonderboymusic
11 years ago

  • Milestone changed from Future Release to 3.7

these are all marked 3.7-early

#6 @hotchkissconsulting
11 years ago

  • Cc hotchkissconsulting added

Works properly for me in latest version of trunk

#7 @nacin
11 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
11 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
11 years ago

  • Milestone changed from 3.7 to 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
11 years ago

  • Component changed from Multisite to Upload
  • Focuses multisite added

#11 @wonderboymusic
11 years ago

  • Milestone changed from Future Release to 4.0

Multisite is so weird

#12 @designsimply
11 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
10 years ago

24434.2.diff brings this list into modernity

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


10 years ago

#15 @wonderboymusic
10 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
10 years ago

  • Owner set to wonderboymusic
  • Resolution set to fixed
  • Status changed from new to 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.


6 years ago

Note: See TracTickets for help on using tickets.