From b1770a0af464ad6350d156245b1abcc1395e142e Mon Sep 17 00:00:00 2001 From: Kim <1877318+kimsible@users.noreply.github.com> Date: Mon, 20 Apr 2020 10:28:38 +0200 Subject: Add thumbnail / preview generation from url on the fly (#2646) * Add thumbnails generation on the fly to URL import * Display generated preview to import first edit * Use ternary to get type inference * Move preview/thumbnail test just after import Co-authored-by: kimsible --- server/tests/fixtures/video_import_preview.jpg | Bin 0 -> 37360 bytes server/tests/fixtures/video_import_thumbnail.jpg | Bin 0 -> 5885 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 server/tests/fixtures/video_import_preview.jpg create mode 100644 server/tests/fixtures/video_import_thumbnail.jpg (limited to 'server/tests/fixtures') diff --git a/server/tests/fixtures/video_import_preview.jpg b/server/tests/fixtures/video_import_preview.jpg new file mode 100644 index 000000000..1f8d1d91d Binary files /dev/null and b/server/tests/fixtures/video_import_preview.jpg differ diff --git a/server/tests/fixtures/video_import_thumbnail.jpg b/server/tests/fixtures/video_import_thumbnail.jpg new file mode 100644 index 000000000..fcc50b75f Binary files /dev/null and b/server/tests/fixtures/video_import_thumbnail.jpg differ -- cgit v1.2.3