From 1836fef40296e85def3ce6095b3525e4cd000e1c Mon Sep 17 00:00:00 2001 From: Luna D Date: Fri, 10 Apr 2020 17:23:23 +0000 Subject: [PATCH] webm takes ungodly amounts of time to process --- lib/philomena_web/templates/image/_image_page.html.slime | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/philomena_web/templates/image/_image_page.html.slime b/lib/philomena_web/templates/image/_image_page.html.slime index 28c4344d..8c7bb815 100644 --- a/lib/philomena_web/templates/image/_image_page.html.slime +++ b/lib/philomena_web/templates/image/_image_page.html.slime @@ -4,10 +4,12 @@ - else #thumbnails-not-yet-generated.block.block--fixed.block--warning.layout--narrow h3 Just a moment - p The image should appear in a few minutes; report it otherwise. + = if @image.image_mime_type == "video/webm" do + p WEBM uploads may take longer to process, it should appear in up to an hour (depending on file size and video length). + - else + p The image should appear in a few minutes; report it otherwise. p Implications might have added tags, so check them in the meanwhile. - = if !@image.processed and @image.thumbnails_generated do br #image-being-optimized.block.block--fixed.block--warning.layout--narrow - | This image is being processed to optimize the filesize. It should finish shortly. \ No newline at end of file + | This image is being processed to optimize the filesize. It should finish shortly.