Make WordPress Core

Opened 11 years ago

Closed 10 years ago

#13054 closed feature request (duplicate)

Use HTML 5 uploading capabilities (instead of Flash)

Reported by: Otto42 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: Cc:

Description (last modified by scribu)

Firefox 3.6 and Webkit and a few others now support improved file handling capabilities for uploads. This can enable simple javascript pages to do things like drag and drop file uploading, progress meter uploading, etc.

Suggest detecting these browser cases and supporting them with a nicer interface instead of using Flash, which doesn't work in many setups (notably, it doesn't go through firewalls).

Examples and documentation:

Change History (15)

#2 @scribu
11 years ago

  • Cc scribu@… added

#3 @he8us
11 years ago

  • Cc he8us added

#4 @scribu
11 years ago

  • Description modified (diff)

#5 @filosofo
11 years ago

As I mentioned in last week's dev chat, I would like replace the current uploader with Plupload, which uses whatever uploading capability is available to the current client, including HTML 5, Flash, Gears, and Silverlight.

#6 @Otto42
11 years ago

Nice. If we can outsource the bulk of this functionality to some other well-supported GPL2 project, I think that's a good idea.

Not so sure about the default interface plupload provides or some of those features though. Still, maybe it can work.

#7 @filosofo
11 years ago

We don't need the default interface. Plupload has an API much like SWFUpload's, allowing one to trigger callbacks at particular upload events. I think we could more or less swap it in with the current client code used for SWFUpload.

Most of the work will be on the backend, because the WP upload functions assume the use of $_FILES, which won't work for chunking.

#8 @louyx
11 years ago

  • Cc louyx added

#9 @batmoo
11 years ago

  • Cc batmoo@… added

#10 @Otto42
10 years ago

Plugin implementing this released: http://wordpress.org/extend/plugins/wplupload/

I tried it. It works quite nicely.

#11 @GeekShadow
10 years ago

  • Cc GeekShadow added

#12 @beaulebens
10 years ago

  • Cc beau@… added

#13 @johnjamesjacoby
10 years ago

  • Cc jjj@… added

#14 @azaozz
10 years ago

There is a GSoC 2011 project about this.

#15 @SergeyBiryukov
10 years ago

  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.