1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is it the time for Flash Upload replacement?

Discussion in 'XenForo Development Discussions' started by Dinh Thanh, May 23, 2012.

  1. Dinh Thanh

    Dinh Thanh Well-Known Member

    Flash was not supported on Linux now.
    Flash causes many issues with Browsers.
    Flash eats too much battery.
    Flash was not supported (or limited supported) on Mobile Devices.

    I see there are so many Multi file upload libraries which use Ajax/HTML5 now.
    Is it a good time for Flash replacement now?
    AndyB, 0ptima, Alfa1 and 9 others like this.
  2. Chris D

    Chris D XenForo Developer Staff Member

    I was very surprised to see that XenForo used a flash component for file uploading. Sure it works well, and much better than a non flash component, but we are venturing into an era where the Flash - for want of a better term - market share is depleting rapidly as a result of people not supporting it in favour of HTML5.

    I would love to see a HTML5 version, perhaps with the existing Flash uploader as a fall back for older browsers, creep in to XenForo.
    dbembibre and Adam Howard like this.
  3. VXL

    VXL Member

    I agree. The backend of Wordpress has an option for Flash and non-Flash uploader. I've found even Wordpress' Flash uploader can run into problems.
    Adam Howard likes this.
  4. DSF

    DSF Well-Known Member

    An additional question:
    What is the advantage of flash forth in xF?
  5. Chris D

    Chris D XenForo Developer Staff Member

  6. ENF

    ENF Well-Known Member

    XF is approaching the 2 year-old mark, use of a flash upload tool was fairly appropriate when XF was being developed and released.

    Just like everything software related, XF will have to evolve as newer technologies are more commonly adapted.
    DSF likes this.
  7. Dinh Thanh

    Dinh Thanh Well-Known Member

    This is great! It supports Drag&Drop.
    gordy and Adam Howard like this.
  8. Chris D

    Chris D XenForo Developer Staff Member

    Yeah looks fantastic.

    I will rephrase what I said though... "I would like to have a go at implementing something like that into XenForo as an add-on"... but I doubt I have the skills to do so.

    Someone else should give it a go! :D
    Adam Howard and yavuz like this.
  9. duderuud

    duderuud Active Member

    Oeh, that would be nice!
  10. trilogy33

    trilogy33 Well-Known Member

    You still wouldn't be able to upload from an iOS device due to its non-user-accessible file system.
    So, back to an app for that then. ;)
  11. Adam Howard

    Adam Howard Well-Known Member

    I would like to nominate this as the replacement.

    It would do the following if conducted correctly
    • Remove the flash requirement
    • Less to load
    • Simpler integration
    • Easier to maintain for development
    • More user friendly

    Believe it or not, some of the underline things required for this are already there
  12. Andy.N

    Andy.N Well-Known Member

    What are other place where Flash is used in Xenforo besides the upload functionality?
  13. Dinh Thanh

    Dinh Thanh Well-Known Member

    Upload only.
    Adam Howard likes this.
  14. melbo

    melbo Well-Known Member

    Anyone working on this?
    Adam Howard likes this.
  15. kkm323

    kkm323 Well-Known Member

    Steve Jobs knew flash will vanish one day
    A visionary...
    Adam Howard likes this.
  16. Digital Doctor

    Digital Doctor Well-Known Member

    Don't mess with my beloved Xenforo uploader.
    It's amazing.
    Best in the biz.

    If it gets replaced (I am sure it will, Flash is dying) ... I hope it works exactly the same way !
    Adam Howard likes this.
  17. digitalpoint

    digitalpoint Well-Known Member

    I use that for some stuff and to be honest, it's been a little buggy. Doesn't work well at ALL with Internet Explorer unless it's 10 or higher (9 doesn't work that well). That I could live with... because well... if you use IE, it's your own choice to have a ****ty web experience. The bigger issue is that it sporadically hangs when uploading for some users (even if they retry). I suspect it has something to do with some sort of HTTP timeout...
    HWS likes this.
  18. HWS

    HWS Well-Known Member

    Sure it would be. As it would be time for some other components (jQuery, etc)...
  19. Chris D

    Chris D XenForo Developer Staff Member

    Fair comments. I haven't yet had the time to begin looking at replacing the flash uploader myself, but IMO it's one of those things that probably shouldn't be done via an add-on.

    I know SWFUpload has been the defacto standard for a long time... but there's the problem... long... And as we all know flash isn't as widely supported as it once was and it caused one of the biggest vulnerabilities in XenForo it's surely time...

    Out of interest, have you used any similar to this one that ARE good?
    Adam Howard likes this.
  20. digitalpoint

    digitalpoint Well-Known Member

    Not sure... Maybe the newer versions are better. The upload hanging is tough to troubleshoot since it's sporadic and only happens to some users regardless of the browser they use. Maybe they fixed it in newer versions (not sure).
    Dinh Thanh and Adam Howard like this.

Share This Page