fix gifv again

This commit is contained in:
WaveringAna 2025-01-19 16:14:15 -05:00
parent b3189cb472
commit 19613e1bb3

View file

@ -1,3 +1,12 @@
<%
function extension(str){
let file = str.split('/').pop();
return [file.substr(0,file.lastIndexOf('.')),file.substr(file.lastIndexOf('.'),file.length).toLowerCase()]
}
const videoExtensions = ['.mp4', '.mov', '.avi', '.flv', '.mkv', '.wmv', '.webm'];
%>
<!DOCTYPE html>
<html>
<head>