title: html 5 upload video from mobile set resolution
body: <p>I want to upload a video file from an html 5 page opened in a mobile device, to a server running flask.
  I have this for the html file:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"
            rel="stylesheet"&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div class="container"&gt;
        &lt;div class="header"&gt;
          &lt;h3 class="text-muted"&gt;How To Upload a File&lt;/h3&gt;
        &lt;/div&gt;
        &lt;hr/&gt;
        &lt;div&gt;
  
        &lt;form action="upload" method="post" enctype="multipart/form-data"&gt;
          &lt;input type="file" name="file"/&gt;
          &lt;br/&gt;&lt;br/&gt;
          &lt;input type="submit" value="Upload"&gt;
        &lt;/form&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This will allow to select the camera/camcoder when opening via chrome on iOS/Android.
  he iOS resolution is about 400*320 and the Android about 3000*2000, and so the  generated video file for a 5 sec recording is about 300k on iOS (which is OK), and 16MB on Android. so The Android file is too big for upload...</p>
  
  <p>Is it possible to set the resolution for the recording?</p>