fix gifv again
This commit is contained in:
parent
b3189cb472
commit
19613e1bb3
1 changed files with 9 additions and 0 deletions
|
@ -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>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue