Alternatives to Java Applet running with NPAPI in Chrome -
we have applet used zip files on client machine , stream content our servers. our clients have updated newer versions of chrome no longer able use our applet because chrome not support npapi plugins longer. think have couple of options:
- to somehow make existing applet work chrome (perhaps using jnlp? ) or other method
- to find alternative technology altogether
the solution has able receive list of folders, sub-folders , file names. has able compress these files, if possible, upload them server. open suggestions.
you can
read file(s) file api, potentially letting user add them interface via drag , drop (for more convenient selection mechanism boring
<input type="file">
:-) ).zip them in javascript using library jszip (though if server has gzip enabled, i'm not sure gain lot doing that; haven't looked deeply, though)
send them server either via http post (possibly multiple posts), or using xmlhttprequest2, or via web sockets.
of course, other alternative continue use java , have users use firefox instead of chrome. beware mozilla looking make move away npapi , away supporting java. 20 months ago they weren't:
there no plans of dropping support java or other npapi plugins in firefox other setting them "ask activate": https://blog.mozilla.org/security/2014/02/28/update-on-plugin-activation/
....but now:
mozilla intends remove support npapi plugins in firefox end of 2016. firefox began process several years ago...
(which puts lie "no plans" in first quote)
...websites , publishers use plugins such silverlight or java should accelerate transition web technologies.
Comments
Post a Comment