Description
- make video in gallery block (grid) autoplay, both grid view and lightbox view
- view demo – password: abc
- buy me a coffee

#1. Install Code
#1.1. Hover on Page where you use Gallery Block (Grid) > Click Gear icon

#1.2. Click Advanced > Paste this code (You can also add code to Footer Injection or Page Header Injection [with Portfolio, Store, Blog, Event])
<!-- 10.26c30v02 Gallery Block Video AutoPlay -->
<script>
window.GalleryVideoAutoplayConfig = {
videoSelector: '.sqs-gallery .sqs-video-wrapper',
showControls: false
};
</script>
<script src="https://code.beaverhero.com/gallerysgrid/1026c30v02galleryblockgridvideoautoplay.js"></script>

#2. Customize
#2.1. If you use Personal/Basic Plan, you can add an Embed Block under Gallery Block

Then click Code Snippet > Embed Data > Paste this code
<script>
window.GalleryVideoAutoplayConfig = {
videoSelector: '.sqs-gallery .sqs-video-wrapper',
showControls: false
};
</script>
<script src="https://code.beaverhero.com/gallerysgrid/1026c30v02galleryblockgridvideoautoplay.js"></script>
