diff --git a/images/filetype_OGV.png b/images/filetype_OGV.png new file mode 100644 index 0000000..577e277 Binary files /dev/null and b/images/filetype_OGV.png differ diff --git a/index.php b/index.php index 526b312..249cc57 100644 --- a/index.php +++ b/index.php @@ -268,6 +268,7 @@ if (file_exists($currentdir ."/captions.txt")) if (preg_match("/.doc$|.docx$/i", $file)) $extension = "DOCX"; // Word if (preg_match("/.ppt$|.pptx$/i", $file)) $extension = "PPTX"; //Powerpoint if (preg_match("/.xls$|.xlsx$/i", $file)) $extension = "XLXS"; // Excel + if (preg_match("/.ogv$/i", $file)) $extension = "OGV"; // OGV video if ($extension != "") {