0

According to the docs ParseFile requires an extension so to know what type of content it is handling. In my case user captures a video with her mobile device, then from the Uri of the video, I get the byte[] and pass it to ParseFile. What should the extension of my video be? I mean when I do

ParseFile videoFile = new ParseFile("videofilename",videoBytes);
videoFile.saveInBackground();

What should be the extension of videofilename?

learner
  • 11,490
  • 26
  • 97
  • 169

1 Answers1

0

You simply specify it however you want:

... new ParseFile("nameofvideo.mp4", videoBytes);

Keep in mind Parse only supports files ≤ 10MB

soulshined
  • 9,612
  • 5
  • 44
  • 79