This sample shows how to use the HTML5 File API to load files into BuildBee.
How it works:
This is a simple example using a very basic <input type=file> picker to choose a file. Once a file is chosen, the user can upload using the BuildBee button to upload.
This sample uses the onRequestFile callback.
In onRequestFile - it reads the current file from the file picker.
Finally, the file is uploaded using uploadFromFile().
Note this method is compatible with more advanced file picking APIs, such as Dropzone.js.