![]() |
|
Add download link for movie files - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Add download link for movie files (/thread-2624.html) |
Add download link for movie files - FlyveHest - 07-04-2008 Would it be possible to change the code to add download links for movietype files (AVI/MPG etc) ZenPhoto meets all the requirements I need for at gallery (and, I tried 5 or 6 yesterday, including all the "big" ones), except for the handling of movies. For starters, it could just be a default icon (eg. a film-roll or something), and when clicked, would just make it possible for the user to download it. I have looked at the PHP a little, and if someone could throw me a few pointers, I think I could make this function myself, so, if someone with insight into the codebase has a few minutes, I would be very grateful. (What I really need is to know where the actual file-scanning / committing to MySQL happens, I think I can handle the rest from there) /Flyve Add download link for movie files - acrylian - 07-04-2008 You could just use `` which prints the link to the full movie (or image) within your albums folders. The current nightly builds include two different players for video playback as plugins nows (btw, both do not support avi or mpg). Both players itself have options for download, too. You would have to modify the player configuration within that plugins. Follow the links to the player's websites if you want to modify, Add download link for movie files - FlyveHest - 07-04-2008 Have you considered adding native, download-link, support for AVI/MPG/WMV? I have no issues with not having an embedded player for those filetypes, but, my galleries have a fair amount of movies in them, and, besides not having download support for these files, ZenPhoto fulfills all my gallery requirements. I have looked at the code for 1.1.5, and I think it would be pretty easy to modify the code to show a direct download link, but, native support is always better Add download link for movie files - acrylian - 08-04-2008 The reason we have flv as the "main type" is that this is the format most likely all systems can play, because the flash player is sort of preinstalled on every system. But we might indeed consider adding more formats. I will talk to my fellow developers about that. |