diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-17 10:35:27 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-17 10:35:27 +0200 |
commit | 164174a6abac3e391e95d479a98749e20eb86f34 (patch) | |
tree | 9fac6566299af7b86798cd07e181d269808eacbd /server/helpers/ffmpeg-utils.ts | |
parent | 4b5dc9f1e452723503a3ef07405f80c793d7b5f7 (diff) | |
download | PeerTube-164174a6abac3e391e95d479a98749e20eb86f34.tar.gz PeerTube-164174a6abac3e391e95d479a98749e20eb86f34.tar.zst PeerTube-164174a6abac3e391e95d479a98749e20eb86f34.zip |
Use preview instead of thumbnail for oembed
Diffstat (limited to 'server/helpers/ffmpeg-utils.ts')
-rw-r--r-- | server/helpers/ffmpeg-utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/ffmpeg-utils.ts b/server/helpers/ffmpeg-utils.ts index c35125ec1..913a90905 100644 --- a/server/helpers/ffmpeg-utils.ts +++ b/server/helpers/ffmpeg-utils.ts | |||
@@ -25,7 +25,7 @@ function getDurationFromVideoFile (path: string) { | |||
25 | }) | 25 | }) |
26 | } | 26 | } |
27 | 27 | ||
28 | function generateImageFromVideoFile (fromPath: string, folder: string, imageName: string, size?: string) { | 28 | function generateImageFromVideoFile (fromPath: string, folder: string, imageName: string, size: string) { |
29 | const options = { | 29 | const options = { |
30 | filename: imageName, | 30 | filename: imageName, |
31 | count: 1, | 31 | count: 1, |