Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: drzraf commentedwhere is this field's
so that
plupload
can use it ?Comment #5
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedno longer cleanly applies
Comment #6
Chris Matthews CreditAttribution: Chris Matthews as a volunteer 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