get rid of converting for now
This commit is contained in:
parent
6edb3fec06
commit
12c7bcd95e
2 changed files with 20 additions and 4 deletions
|
@ -55,7 +55,7 @@ function convert(req, res, next) {
|
|||
console.log(`oembed file created ${nameAndExtension[0]}${nameAndExtension[1]}.json`);
|
||||
});
|
||||
|
||||
if (nameAndExtension[1] == ".mp4") {
|
||||
/**if (nameAndExtension[1] == ".mp4") {
|
||||
console.log("Converting " + nameAndExtension[0] + nameAndExtension[1] + " to gif");
|
||||
console.log(nameAndExtension[0] + nameAndExtension[1]);
|
||||
ffmpeg()
|
||||
|
@ -86,7 +86,7 @@ function convert(req, res, next) {
|
|||
console.log(`Uploaded to uploads/${nameAndExtension[0]}.mp4`);
|
||||
})
|
||||
.run();
|
||||
}
|
||||
}**/
|
||||
}
|
||||
|
||||
next();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue