cancel
Showing results for 
Search instead for 
Did you mean: 

Flash uploader in 5.0.b?

softwareloop
Champ in-the-making
Champ in-the-making
Is the flash uploader still available in Alfresco 5.0.b?
When I click on the upload button in the document library, the HTML5 uploader pops up instead of the flash uploader I get by default on all other versions (4.2.x and 5.0.a). I've tested on Chrome, Safari and Firefox - same results.

I checked the release notes, jira and this forum to see if it was one of the removed features but couldn't find any reference to it.
The component (tomcat/webapps/share/components/upload/flash-upload-min.js) is still there.
2 REPLIES 2

ranjitsinh_reva
Champ in-the-making
Champ in-the-making
Hi,

Please refer following link. Here you will find some configuration.
I am not sure about whether it will work or not in alfreco 5.0.b. but check it. It may help you.

<b>https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/enable-flash-base...</b>

Thank you for the link but the configuration didn't work for me.

I had a look at the source code in webapps/share/components/upload/file-upload.js
In older versions the priority was: flash, html5, html
<javascript>
            // Create the appropriate uploader component
            var uploadType;
            if (this.hasRequiredFlashPlayer)
            {
               uploadType = this.options.flashUploader;
            }
            else if (this.browserSupportsHTML5)
            {
               uploadType = this.options.dndUploader;
            }
            else
            {
               uploadType = this.options.htmlUploader;
            }
</javascript>

While in 5.0.b it is: html5, flash, html:

<javascript>
            var uploadType;
            if (this.browserSupportsHTML5)
            {
               uploadType = this.options.dndUploader;
            }
            else if (this.hasRequiredFlashPlayer)
            {
               uploadType = this.options.flashUploader;
            }
            else
            {
               uploadType = this.options.htmlUploader;
            }
</javascript>

So the change is intentional, I just wasn't aware of it.