jRecorder Example 1 - Insert flash recorder inside the body tag

In this example, you add a flash recorder with some call back function. $.jRecorder function is called with all initial settings. If the second parameter for $.jRecorder is not there, plugin insert the flash recorder inside the body tag. You can specify where to insert the flash recorder with second parameter. See example2.html for this.

Download the plugin: jRecorder.zip

Time: 00:00
Level:
Status:

This Record button trigger the record event. See the javascript example in the bottom of the page. (View Source in your browser).

$('#record').click(function(){
                    
    $.jRecorder.record(30); //record up to 30 sec and stops automatically
                   
   })


This Stop button trigger the stop record event.

  Onclick of this button trigger  $.jRecorder.sendData() which send the data to the Server
  

This SendData button trigger the sendData event to flash to send the wav data to Server (configured in the host parameter).


$('#stop').click(function(){
                    
    $.jRecorder.stop();
                   
   })


Time area is used to update the time. There is an event Listener which update the recording time dynamically.

    
    callback_activityTime:     function(time){callback_activityTime(time);  //see the initialisation
    
    //function callback
    function callback_activityTime(time)
     {
      
      
       $('#time').html(time);
       
     }