Friday, November 1, 2013

Meatspace Jitter

        getScreenshot(function (pictureData) {
          picField.val(pictureData);

          $.post('/add/chat', self.serialize(), function () {

          }).error(function (data) {
            alert(data.responseJSON.error);
          }).always(function (data) {
            picField.val('');
            addChat.val('');
            posting = false;
            addChatBlocker.addClass('hidden');
            body.find('> img').remove();
          });
-        }, 10, 0.2);
+        }, 2, 1);


because

  var getScreenshot = function (callback, numFrames, interval) {
    if (videoShooter) {
      videoShooter.getShot(callback, numFrames, interval);
    } else {
      callback('');
    }
  };