From b4b35144842c8ba6f30816c27a05145de14b423b Mon Sep 17 00:00:00 2001 From: Bruno 21 Date: Tue, 17 Nov 2020 19:39:36 +0100 Subject: [PATCH] Options dans album.hbs: preload: 2, autoplay: true, autoplayControls: true, progressBar: false, pause: 2500, pager: false, --- theme/album.hbs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/theme/album.hbs b/theme/album.hbs index f8ca870..09c41d9 100644 --- a/theme/album.hbs +++ b/theme/album.hbs @@ -25,8 +25,8 @@ - - + + @@ -39,11 +39,18 @@ $("#media").lightGallery({ thumbWidth: 80, controls: true, + hideBarsDelay: 4500, loop : false, download: true, counter: true, + pager: false, videojs: true, exThumbImage: 'data-exthumbimage', + preload: 2, + autoplay: true, + autoplayControls: true, + progressBar: false, + pause: 2500, }); // Init justified gallery for albums