Friday, April 20, 2012

HTML5 stuff

I've been playing with HTML5 APIs for quite some time (not exactly playing, but the blog is neglected as usual). In my Javascript code junkyard folder on the 0nyx server you can play with it and check the source if needed: http://www.zebarnabe.0nyx.com/JS/dragdropfile/file.html

Take in mind that Drag and Drop API is divided into 2 different APIs ... the 'old' one and the 'new' one, my sample tries to support both to a certain extent... oh ... and you can drag and drop files ... the content of them is shown in base64 data url.... quite useful to convert icons and small images to base64, not that good to check that 64MB video file you have there...

Have fun and hope it is useful