diff --git a/bricks/camera.js b/bricks/camera.js index 0ba1f30..8b97b08 100644 --- a/bricks/camera.js +++ b/bricks/camera.js @@ -128,7 +128,9 @@ bricks.Camera = class extends bricks.Popup { } videorecorder_stop(){ return new Promise((resolve) => { + console.log('go here!') this.mediaRecorder.onstop = () => { + console.log('stoped'); const blob = new Blob(this.recordedChunks, { type: 'video/webm' }); const url = URL.createObjectURL(blob); resolve({ blob, url });