Problem/Motivation

Currently the filesize limit of plupload is always set to it's default - would be nice if it always matches to the settings of the media module.

Categorizing as bug because the current behaviour really could confuse people.

Proposed resolution

Adding medias filesize limit to the js settings of media to handover the setting to the plupload settings when creating a plupload instance.

Remaining tasks

Review patch.

User interface changes

none.

API changes

none.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

das-peter’s picture

Sorry sloppy patch creation :| Here's the correct patch.

Dave Reid’s picture

I swear we're already putting a field's maximum file size in JavaScript. I'm not sure why we'd need to do this again...

LoMo’s picture

Related? (Post-install forum discussion of issues with Media) http://drupal.org/node/1318960
(Symptom: "upload file size must be less than 0 bytes")

drzraf’s picture

where is this field's

maximum file size in JavaScript

so that plupload can use it ?

SocialNicheGuru’s picture

no longer cleanly applies

Chris Matthews’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Closing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team