add basic OGV video support
* work on https://github.com/sebsauvage/MinigalNano/issues/46 * lightbox not supported yet, videos are just linked from the gallery page
This commit is contained in:
parent
4bf3c2a22e
commit
cf1ba1bc9a
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 |
|
@ -268,6 +268,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