Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't exclude any video formats.

Video's will be fed appropriately from the cache instead, so
the .js code needs to fetch the right cache/recode. So, we
no longer exclude any video formats from the db.
  • Loading branch information...
commit c0fbb335824a923efba3fd81ee9ce9146ea1d2c4 1 parent 77cfac2
@sofar authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 db.php
View
6 db.php
@@ -97,14 +97,16 @@
# ignore a few filetypes.
$pi = pathinfo($image);
- switch(strtolower($pi['extension'])) {
- case 'avi':
+ switch (strtolower($pi['extension'])) {
case 'thm':
case 'nef':
$image = readdir($ih);
continue;
}
+ # now we just include the original video, let the .js code
+ # handle getting the recoded video versions.
+
$a .= "{ name: '" . $image . "'";
# store original date of the file
Please sign in to comment.
Something went wrong with that request. Please try again.