window.hippoWidget.onLoad(function(){ window.hippoWidget.on("record_initiated", function(){ console.log("recording initiated"); }); window.hippoWidget.on("record_complete", function(event){ console.log("recording initiated" + event.recorded_url); }); });