Use preview instead of thumbnail for oembed

This commit is contained in:
Chocobozzz 2017-10-17 10:35:27 +02:00
parent 4b5dc9f1e4
commit 164174a6ab
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 26 additions and 16 deletions

View file

@ -25,7 +25,7 @@ function getDurationFromVideoFile (path: string) {
})
}
function generateImageFromVideoFile (fromPath: string, folder: string, imageName: string, size?: string) {
function generateImageFromVideoFile (fromPath: string, folder: string, imageName: string, size: string) {
const options = {
filename: imageName,
count: 1,