Answer the question
In order to leave comments, you need to log in
How to save a file created with js + canvas to mp4?
How to create a video file and attach it there on the alpha channel, for example, I found
the text as a whole .
EXAMPLE
3 layers = video + plate + text (we change the text simply in the HTML text field, select from several plates and all this is superimposed on the video file)
Answer the question
In order to leave comments, you need to log in
First line on Google: stackoverflow.com/questions/13405129/javascript-cr...
function saveAs(blob, file) {
if (navigator.msSaveBlob) {
navigator.msSaveBlob(blob, file);
} else {
var a = docuemnt.createElement("a");
a.href = URL.createObjectURL(blob);
a.download = file;
a.click();
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question