bugfix
This commit is contained in:
parent
1bf59a66bf
commit
cc0e24082f
@ -130,11 +130,12 @@ bricks.Camera = class extends bricks.Popup {
|
|||||||
resolve({ blob, url });
|
resolve({ blob, url });
|
||||||
this.recordedChunks = [];
|
this.recordedChunks = [];
|
||||||
this.dispatch('recorded', url);
|
this.dispatch('recorded', url);
|
||||||
|
console.log('record end')
|
||||||
}
|
}
|
||||||
this.mediaRecorder.start();
|
this.mediaRecorder.start();
|
||||||
}
|
}
|
||||||
videorecorder_stop(){
|
videorecorder_stop(){
|
||||||
this.mediaRecirder.stop();
|
this.mediaRecorder.stop();
|
||||||
}
|
}
|
||||||
take_picture(event){
|
take_picture(event){
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user