Merge pull request #49 from nodiscc/video-support
add basic OGV video support
This commit is contained in:
commit
dfadcf8a85
2 changed files with 1 additions and 0 deletions
BIN
images/filetype_OGV.png
Normal file
BIN
images/filetype_OGV.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
|
@ -273,6 +273,7 @@ if (file_exists($currentdir ."/captions.txt"))
|
||||||
if (preg_match("/.doc$|.docx$/i", $file)) $extension = "DOCX"; // Word
|
if (preg_match("/.doc$|.docx$/i", $file)) $extension = "DOCX"; // Word
|
||||||
if (preg_match("/.ppt$|.pptx$/i", $file)) $extension = "PPTX"; //Powerpoint
|
if (preg_match("/.ppt$|.pptx$/i", $file)) $extension = "PPTX"; //Powerpoint
|
||||||
if (preg_match("/.xls$|.xlsx$/i", $file)) $extension = "XLXS"; // Excel
|
if (preg_match("/.xls$|.xlsx$/i", $file)) $extension = "XLXS"; // Excel
|
||||||
|
if (preg_match("/.ogv$/i", $file)) $extension = "OGV"; // OGV video
|
||||||
|
|
||||||
if ($extension != "")
|
if ($extension != "")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue