Merge pull request #49 from nodiscc/video-support

add basic OGV video support
This commit is contained in:
Tom.C. 2014-09-08 15:43:37 +02:00
commit dfadcf8a85
2 changed files with 1 additions and 0 deletions

BIN
images/filetype_OGV.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -273,6 +273,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 != "")
{