bugfix
This commit is contained in:
parent
a8ef7eb1bd
commit
ef100c056f
@ -78,6 +78,7 @@ bricks.MediaRecorder = class extends bricks.Popup {
|
||||
blob = await this.blob_convert(blob);
|
||||
const url = URL.createObjectURL(blob);
|
||||
// 2. 转成 File 对象
|
||||
var filename;
|
||||
if (this.mimetype == 'video/mp4'){
|
||||
filename = 'recorded_video.mp4';
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user