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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | media-forward-file-size-limit-to-plupload-1356760-1.patch | 758 bytes | das-peter |
| media-forward-file-size-limit-to-plupload.patch | 1.53 KB | das-peter |
Comments
Comment #1
das-peter commentedSorry sloppy patch creation :| Here's the correct patch.
Comment #2
dave reidI 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...
Comment #3
lomo commentedRelated? (Post-install forum discussion of issues with Media) http://drupal.org/node/1318960
(Symptom: "upload file size must be less than 0 bytes")
Comment #4
drzraf commentedwhere is this field's
so that
pluploadcan use it ?Comment #5
socialnicheguru commentedno longer cleanly applies
Comment #6
chris matthews commentedClosing 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