parent
eedbe06af6
commit
fdaba8344d
@ -115,7 +115,7 @@ let ffmpeg = null;
|
||||
|
||||
var filename = toSlug(videoElement.parentNode.parentNode.id || document.title)
|
||||
const data = await ffmpeg.readFile('output.mp4');
|
||||
saveAs(new Blob([data.buffer]),filename);
|
||||
saveAs(new Blob([data.buffer]),filename, {type: 'video/mp4'});
|
||||
return
|
||||
}
|
||||
function saveAs(blob, filename) { // Yeah ok...
|
||||
|
Loading…
Reference in New Issue
Block a user