Package: libapache-gallery-perl
Version: 0.99-svn060811-1
Severity: wishlist
Currently various video files are supported in gallery's directory
listings, but .mp4 files don't show up. It would be nice if they did.
Here's a patch that modifies the matching regexp to allow mp4s to be
shown. Since there's no video-mp4 icon, I didn't change the
thumbnail display code. That icon needs to be created.
--- /usr/share/perl5/Apache/Gallery.pm.bak 2013-03-26 10:09:50.000000000
-0700
+++ /usr/share/perl5/Apache/Gallery.pm 2013-03-26 10:16:47.000000000 -0700
@@ -160,7 +160,7 @@
my $doc_pattern = $r->dir_config('GalleryDocFile');
unless ($doc_pattern) {
- $doc_pattern =
'\.(mpe?g|avi|mov|asf|wmv|doc|mp3|ogg|pdf|rtf|wav|dlt|html?|csv|eps)$'
+ $doc_pattern =
'\.(mpe?g|avi|mov|mp4|asf|wmv|doc|mp3|ogg|pdf|rtf|wav|dlt|html?|csv|eps)$'
}
my $img_pattern = $r->dir_config('GalleryImgFile');
unless ($img_pattern) {
@@ -1687,7 +1687,7 @@
as normal files. All other filetypes will still be served by Apache::Gallery
but are not visible in the index.
-The default is
'\.(mpe?g|avi|mov|asf|wmv|doc|mp3|ogg|pdf|rtf|wav|dlt|html?|csv|eps)$'
+The default is
'\.(mpe?g|avi|mov|mp4|asf|wmv|doc|mp3|ogg|pdf|rtf|wav|dlt|html?|csv|eps)$'
=item B<GalleryTTFDir>
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]