I am using https://github.com/jwagener/recorder.js/
At home it works like a charm. But as I tested it at the university, it doesnt work. I dont know why. Am I missing a flash plugin? Or does it depend on crossdomain? But the example should work anywhere though http://recorderjs.ponyho.st/examples/example-1.html
I guess it isnt possible to catch the exception in javascript as well.
try{
record();
}catch(e){
alert(e.message);
}