Add config option for autoplay videos

This commit is contained in:
Alan Grainger
2026-06-11 16:12:00 +12:00
parent 46438f1c74
commit 652f2903ce
6 changed files with 56 additions and 20 deletions
+1
View File
@@ -135,6 +135,7 @@ export async function gallery (res: Response, share: SharedLink, openItem?: numb
showDownload: downloadAllowed && !!getConfigOption('ipp.lightbox.showDownload', true),
showArrows: !!getConfigOption('ipp.lightbox.showArrows', true),
mobileArrows: !!getConfigOption('ipp.lightbox.mobileArrows', false),
autoPlayVideos: !!getConfigOption('ipp.lightbox.autoPlayVideos', false),
options: lightboxOptions
},
metadataConfig: {