title: Can i upload a video to my server with PhoneGap or another API?
body: <p>After having decided to use as PhoneGap API for the development of a small application, I tried to access the gallery of the phone to set up a system to upload files to my server.
  Unfortunately, when I go to the gallery, the pictures are only available ...</p>
  
  <p>Is there a way to access the video and send to the server, or another API who change HTML code in native app ? Or should I use a service for sending mail.
  If yes, what is the name of this service?</p>
  
  <p>Thanks to @ghostCoder</p>
  
  <p>Just one correction, to be true :</p>
  
  <pre><code>navigator.camera.getPicture(successFn, errorFn, { quality: 50,
          destinationType: this.photoDestinationType.FILE_URI,
          sourceType: source,
          mediaType: navigator.camera.MediaType.ALLMEDIA  });
  </code></pre>
  
  <p><strong>mediaType: this.fileMediaType.ALLMEDIA</strong></p>
  
  <p>replace by</p>
  
  <p><strong>mediaType: navigator.camera.MediaType.ALLMEDIA</strong></p>