2

I'm trying to post a video recorded by a user to a rest endpoint. The user will record a video and then my app will post it to TransloadIt. I'm currently using the FileTransfer Plugin from Cordova. My app just exits when it runs though. Here is what I have.

https://gist.github.com/anonymous/fcbf6fdba12071b68fae

I can't find any examples that are posting a file submitted from a web form. The video in this case is a local file on the device.

guyja
  • 857
  • 1
  • 10
  • 19

1 Answers1

0

Recently someone reported a similar Cordova issue about Uppy and it turned out that Cordova didn't support the File object and needed to use Blob instead. I suspect that might be plaguing your integration now too. The issue has been reported at Cordova as well. In the meantime Uppy merged a workaround for this problem that you could likely apply to your project as well.

kvz
  • 5,517
  • 1
  • 42
  • 33