Created
January 31, 2013 10:07
-
-
Save shardiwal/4681853 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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