dans album.hbs:
         preload: 2,
          autoplay: true,
          autoplayControls: true,
          progressBar: false,
          pause: 2500,
          pager: false,
This commit is contained in:
2020-11-17 19:39:36 +01:00
parent 2b4ef9038d
commit b4b3514484

View File

@@ -25,8 +25,8 @@
<!-- LightGallery -->
<script src="{{relative 'public/lightgallery/js/lightgallery.js'}}"></script>
<script src="{{relative 'public/lightslider/js/lightslider.min.js'}}"></script>
<script src="{{relative 'public/lightgallery/js/lg-fullscreen.min.js'}}"></script>
<script src="{{relative 'public/lightgallery/js/lg-zoom.min.js'}}"></script>
<script src="{{relative 'public/lightgallery/js/lg-fullscreen.min.js'}}"></script>
<script src="{{relative 'public/lightgallery/js/lg-zoom.min.js'}}"></script>
<script src="{{relative 'public/lightgallery/js/lg-autoplay.js'}}"></script>
<script src="{{relative 'public/lightgallery/js/lg-pager.js'}}"></script>
<script src="{{relative 'public/lightgallery/js/lg-thumbnail.js'}}"></script>
@@ -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