Use preview instead of thumbnail for oembed
This commit is contained in:
parent
4b5dc9f1e4
commit
164174a6ab
5 changed files with 26 additions and 16 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue