HTML5 FileReader Alternative


#1

Hey ThemeForest developers :slight_smile:

I need some help with HTML5… In my latest item I am using HTML5 techniques that include FileReader. The FileReader function only works in Chrome & FireFox, so I am looking for an alternative which will work in all of the other browsers.

Thanks
Adam


#2

Check out https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills

I think there is one in there that patches the FileReader API in non supporting browsers.


#3
CreatingDrew said

Check out https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills

I think there is one in there that patches the FileReader API in non supporting browsers.

http://sandbox.knarly.com/js/dropfiles/

I think this is the one, right? I didn’t fully understand what exactly does it do? His demo uses FileReader() and it doesn’t work in Safari… Thank you very much!


#4

Drew, please? I am really hopeless.


#5
AdamGold said

Drew, please? I am really hopeless.

I missed your reply earlier, doh! Sorry Adam, I am just aware of the page I linked you to, but I don’t have a bunch of experience using FileReader unfortunately.

Want me to move this to the CodeCanyon forums to see if that might help? :slight_smile:


#6
CreatingDrew said
AdamGold said

Drew, please? I am really hopeless.

I missed your reply earlier, doh! Sorry Adam, I am just aware of the page I linked you to, but I don’t have a bunch of experience using FileReader unfortunately.

Want me to move this to the CodeCanyon forums to see if that might help? :slight_smile:

Yeah sure, thank you very much Drew :slight_smile: