facebook video upload error 1363030
<p>When I try to upload, I get the following error:</p>

<pre>
Error code:1363030,
msg: Your video upload timed out before it could be completed. This is probably because of a slow network connection or because the video you're trying to upload is too large. Please try again.
</pre>

<p>I'm using Facebook Javascript SDK 2.5.
What am I missing or wrong?</p>

<pre><code>&lt;script&gt;
      var files;
      var fileData = '';  
      function handleFileSelect(evt) {
        files = evt.target.files; // FileList object
        var input = evt.target;
        var reader = new FileReader();
        reader.onload = function (e) {
          fileData = e.target.result;
        };
        reader.readAsDataURL(input.files[0]);
        // files is a FileList of File objects. List some properties.
        var output = [];
        for (var i = 0, f; f = files[i]; i++) {
          output.push('&lt;li class="list-group-item"&gt;', escape(f.name), '(', f.type || 'n/a', ') - ',
                      f.size, ' bytes','&lt;/li&gt;');
        }
        document.getElementById('list').innerHTML = output.join('');
      }
      document.getElementById('files').addEventListener('change', handleFileSelect, false);

      $(document).ready(function()
      {

        $("#upload").click(function(){
          var token = $('#token').val();
          FB.api(
            "/me/videos",
            "POST",
            {    
                "access_token" : token,
                "title" : 'test',
                "source": fileData
            },
            function (response) {
              if (response &amp;&amp; !response.error) {
                /* handle the result */
              }
            }
          );
        })

    });
&lt;/script&gt;
</code></pre>

<p>here is the sample <a href="http://ogar.xyz/test/" rel="nofollow">site</a></p>