bugfix
This commit is contained in:
parent
cc0e24082f
commit
2fef7cd9d3
@ -127,7 +127,6 @@ bricks.Camera = class extends bricks.Popup {
|
||||
this.mediaRecorder.onstop = () => {
|
||||
const blob = new Blob(this.recordedChunks, { type: 'video/webm' });
|
||||
const url = URL.createObjectURL(blob);
|
||||
resolve({ blob, url });
|
||||
this.recordedChunks = [];
|
||||
this.dispatch('recorded', url);
|
||||
console.log('record end')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user