jwagener-soundcloud / recorder.js

*UNMAINTAINED* JavaScript library to record audio in browsers as used in the SoundCloud Javascript SDK.
http://johannes.wagener.cc
MIT License
321 stars 142 forks source link

Uncaught Error: Error calling method on NPObject. #41

Closed TimoRuetten closed 10 years ago

TimoRuetten commented 10 years ago

Hi!

I have a problem ... all works fine until now! I dont think that i changed any code... but now this error "Uncaught Error: Error calling method on NPObject." comes when i try to start the record.

My code (is in jQuery(document).ready):

Recorder.initialize({ swfSrc: '/template/js/recorder/recorder.swf' });

jQuery('#start').click(function(){

Recorder.record({ start: function(){ console.log('Recording started.'); }

});

});

Tested in Chrome & Firefox. Same problem.

The console log "Recording started" is still not viewable.

The error says that this line is wrong: this.flashInterface().record(); // in recorder.js / line 53

TimoRuetten commented 10 years ago

I am so sorry for this issue ... i just forgot to plugin my microphone ...