transloadit

Cordova FIle Transfer plugin how to pass transloadit parameters?

妖精的绣舞 提交于 2019-12-12 03:31:06
问题 Update Trying to post the file to transloadit using the FileTransfer plugin using the following code var uri = encodeURI("https://api2-eu-west-1.transloadit.com/assemblies"); var options = new FileUploadOptions(); options.fileKey = "file"; options.fileName = filepath.substr(filepath.lastIndexOf('/') + 1); var params = new Object(); params.auth =new Object(); params.auth.key ="***************" ; options.params = params; var ft = new FileTransfer(); ft.upload(filepath, uri, win, fail, options);

Transloadit and PhoneGap

别等时光非礼了梦想. 提交于 2019-12-10 10:29:43
问题 I checked out TransloadIt website and it looked like a great service but its Jquery plugin works only with the html form input... this won't really work with my phonegap application. Is there a way to upload Phonegap camera captured image into Transloadit? 回答1: I know Transloadit, but not Phonegap. Can you do a multipart form post? Transload can accept that without jQuery. If you can use XHR, then this might be a good example for you https://github.com/tim-kos/transloadit_xhr/blob/master

Transloadit and PhoneGap

孤人 提交于 2019-12-06 12:04:13
I checked out TransloadIt website and it looked like a great service but its Jquery plugin works only with the html form input... this won't really work with my phonegap application. Is there a way to upload Phonegap camera captured image into Transloadit? I know Transloadit, but not Phonegap. Can you do a multipart form post? Transload can accept that without jQuery. If you can use XHR, then this might be a good example for you https://github.com/tim-kos/transloadit_xhr/blob/master/transloadit_xhr.js Have a working phonegap (cordova) app with Transloadit Transloadit accepts POST data and does