aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-17 10:35:27 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-17 10:35:27 +0200
commit164174a6abac3e391e95d479a98749e20eb86f34 (patch)
tree9fac6566299af7b86798cd07e181d269808eacbd /server/helpers
parent4b5dc9f1e452723503a3ef07405f80c793d7b5f7 (diff)
downloadPeerTube-164174a6abac3e391e95d479a98749e20eb86f34.tar.gz
PeerTube-164174a6abac3e391e95d479a98749e20eb86f34.tar.zst
PeerTube-164174a6abac3e391e95d479a98749e20eb86f34.zip
Use preview instead of thumbnail for oembed
Diffstat (limited to 'server/helpers')
-rw-r--r--server/helpers/ffmpeg-utils.ts2
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
28function generateImageFromVideoFile (fromPath: string, folder: string, imageName: string, size?: string) { 28function 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,