/
[uploader] Prefer HTML5 upload over Flash [5.2.2-B2]

[uploader] Prefer HTML5 upload over Flash [5.2.2-B2]

In the In-Portal 5.2.2-B1 release a Plupload-based file uploader version was copied over from In-Portal 5.3.x development branch. One of the Plupload features is ability to pick upload way (html5, flash, html4), which will work best in current browser. Actually the "html5" upload mode also works, when HTML4 doctype is used on the HTML page.

Due misconfiguration the "html5" upload way is never picked even if browser supports it.

Solution

Change "runtimes" option of Plupload (the "Uploader.init" method in "/core/admin_templates/js/uploader/uploader.js" file) from "flash,html4" into "html5,flash,html4".

Related Tasks

INP-1659 - Getting issue details... STATUS