aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
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/initializers
parent4b5dc9f1e452723503a3ef07405f80c793d7b5f7 (diff)
downloadPeerTube-164174a6abac3e391e95d479a98749e20eb86f34.tar.gz
PeerTube-164174a6abac3e391e95d479a98749e20eb86f34.tar.zst
PeerTube-164174a6abac3e391e95d479a98749e20eb86f34.zip
Use preview instead of thumbnail for oembed
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 6218644cf..491fb78f9 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -300,8 +300,13 @@ const THUMBNAILS_SIZE = {
300 height: 110 300 height: 110
301} 301}
302const PREVIEWS_SIZE = { 302const PREVIEWS_SIZE = {
303 width: 640, 303 width: 560,
304 height: 480 304 height: 315
305}
306
307const EMBED_SIZE = {
308 width: 560,
309 height: 315
305} 310}
306 311
307// Sub folders of cache directory 312// Sub folders of cache directory
@@ -343,6 +348,7 @@ export {
343 CACHE, 348 CACHE,
344 CONFIG, 349 CONFIG,
345 CONSTRAINTS_FIELDS, 350 CONSTRAINTS_FIELDS,
351 EMBED_SIZE,
346 FRIEND_SCORE, 352 FRIEND_SCORE,
347 JOB_STATES, 353 JOB_STATES,
348 JOBS_CONCURRENCY, 354 JOBS_CONCURRENCY,