WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 3 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)

comment:2 scribu4 years ago

  • Cc scribu@… added

comment:3 he8us4 years ago

  • Cc he8us added

comment:4 scribu4 years ago

  • Description modified (diff)

comment:5 filosofo4 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.

comment:6 Otto424 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.

comment:7 filosofo4 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.

comment:8 louyx4 years ago

  • Cc louyx added

comment:9 batmoo3 years ago

  • Cc batmoo@… added

comment:10 Otto423 years ago

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

I tried it. It works quite nicely.

comment:11 GeekShadow3 years ago

  • Cc GeekShadow added

comment:12 beaulebens3 years ago

  • Cc beau@… added

comment:13 johnjamesjacoby3 years ago

  • Cc jjj@… added

comment:14 azaozz3 years ago

There is a GSoC 2011 project about this.

comment:15 SergeyBiryukov3 years ago

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