From a870f224b8f9f8c1a4046def703e2ca20c16580f Mon Sep 17 00:00:00 2001 From: waveringana Date: Sat, 18 Nov 2023 18:46:52 -0500 Subject: [PATCH] update gifv --- app/views/gifv.ejs | 68 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/app/views/gifv.ejs b/app/views/gifv.ejs index 14d8e4c..b677d56 100644 --- a/app/views/gifv.ejs +++ b/app/views/gifv.ejs @@ -48,11 +48,77 @@ const videoExtensions = ['.mp4', '.mov', '.avi', '.flv', '.mkv', '.wmv', '.webm' <% } %> + + + <% if (videoExtensions.includes(extension(url)[1])) { %> - + <% } else { %> <% } %> + +