JavaScript Method



Start a recording.

Example: Start Recording for the AudioRecorderAndPlayer Control 

The UX Component AudioRecorderAndPlayer control's JavaScript object can be used to start a recording. The _rec property of the object contains the audio recorder class methods. The JavaScript below demonstrates how to start a recording for an AudioRecorderAndPlayer control:

// Get the JavaScript object for the AudioRecorderAndPlayer Control
var audioObj = {dialog.object}.getControl("AUDIORECORDERANDPLAYER");

if (audioObj) {
    // Start the recording

See Also