Allowing module defined file types (like .avi) in Gallery
|
rWatcher
![]()
Joined: 2005-09-06
Posts: 619 |
Posted: Thu, 2009-09-24 00:07
|
|
As I've seen a couple of threads on this forum from people asking for support for additional movie formats (like this thread), I thought I'd start a thread to document my attempts to get Gallery to accept .avi files. At this point I have managed to modify both Gallery and Gallery's server add module to allow importing of .avi video files into Gallery. The relevant changes include -- Server Add Modifications: Gallery 3 Modifications: Note that this has not been thoroughly tested. It's possible that there could be other areas of Gallery that would also need to be modified, that I haven't stumbled across yet. I've basically been editing files one at a time to fix whatever issue I ran into after the previous edit An example .avi can be found in my testing gallery here. As Gallery's video player doesn't support .avi files, I've programmed the site to just display a direct link to it allowing the web browser to decide if it should be played in the browser or downloaded. Comments? Suggestions? Any better ideas? Edit: |
|


Posts: 16503
rWatcher, are you also signed up on the -devel mailing list and do you ever check out #gallery on IRC?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 619
No, I was going to sign up on the mailing list, but I never seem to get around to it.
Actually... There, one of my emails should now be subscribed.
Posts: 16503
Great! This would be a great discussion to have on the -devel mailing list. Maybe get a few other devs involved
And if anything needs to be tweaked in core to make something like this work hopefully get that done before release.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 619
Done!
Posts: 23
Did this go anywhere in the core code base? Meaning did the developers accept it and it is in git or as a module that you can grab or is this still you hack your version on your server to work?
Posts: 619
Nope, it's still a "use at your own risk" hack. The developers did say something like this might happen, but not until Gallery 3.1 at the earliest.
Posts: 6
Hello
Is this system still usable?