JS
You'll need to update var container so it is the accurate page slug. Current page slug of beign used in the sample is is #latest-posts. You can change the timeout feature to change the speed. Time is measured in 1000's. 5000 = 5 seconds
<script>
Y.on('domready', function () {
try {
var container = Y.one("#latest-posts");
var gallery = Y.Squarespace.GalleryManager.getGalleryByContainer(container);
gallery.setAttrs({
"autoplay":true,
"autoplayOptions": {
"timeout":5000,
"randomize": true
}
});
} catch (e) {
console.error("Could not configure Gallery autoplay.", e);
}
});
</script>