Skip to content

Instantly share code, notes, and snippets.

@shardiwal
Created January 31, 2013 10:07
Show Gist options
  • Save shardiwal/4681853 to your computer and use it in GitHub Desktop.
Save shardiwal/4681853 to your computer and use it in GitHub Desktop.
// flash app needs time to load and initialize
if (RecorderFlash.recorder && RecorderFlash.recorder.init) {
RecorderFlash.recorderOriginalWidth = RecorderFlash.recorder.width;
RecorderFlash.recorderOriginalHeight = RecorderFlash.recorder.height;
if (RecorderFlash.uploadFormId && $) {
var frm = $(RecorderFlash.uploadFormId);
if (frm.size() > 0) {
RecorderFlash.recorder.configure(22,0,10,100);
RecorderFlash.recorder.setUseEchoSuppression('yes');
RecorderFlash.recorder.init(frm.attr('action').toString(),RecorderFlash.uploadFieldName,frm.serializeArray());
}
}
return;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment