Skip to content Skip to sidebar Skip to footer

Chrome Folder Upload API. Detect Support & Workaround With JS / JQuery

I am currently working on a web media player and would like to use the new 'Folder Upload API' from Google Chrome (or however its being called officially) to recursively work with

Solution 1:

(function() {
var input = document.createElement("input");
input.type = "file";
return !!("webkitdirectory" in (input || document.querySelectorAll("input[type=file]")[0] ))
}())

Post a Comment for "Chrome Folder Upload API. Detect Support & Workaround With JS / JQuery"