Member
Member
fantom   20-09-2022, 04:07
#1

Hi, how to get avi video files visible? I have Wanscam ipcamera which record avi files and it saves files to albums directory.
If I give exact name of videofile I can download avi file and watch it with VLC, but my friends cannot cause they don't know exact file name.
So how to get Zenphoto to show all file formats in album subdirectories?
Thank you in advance

Member
Member
fantom   20-09-2022, 04:41
#2

Hi,
find solution
add this to class-video.php :

Gallery::addImageHandler('avi', 'Video');

Administrator
Administrator
acrylian   20-09-2022, 06:54
#3

avi files are not a general web format so many browser and devices will not play them regardless of that addition. Use mp4 videos instead.

Member
Member
fantom   20-09-2022, 14:56
#4

"avi files are not a general web format so many browser and devices will not play them regardless of that addition. Use mp4 videos instead."

I know, but Wanscam ipcamera use avi as I say in first post and now it's possible to download avi file to computer and use VLC to watch video.

Administrator
Administrator
acrylian   20-09-2022, 15:33
#5

Ah, sorry, thanks for pointing to that again. If it is not important to play them directly, a better way is to use the AnyFile plugin that allows to have almost any file type to be recognized within albums.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.