diff --git a/assets/js/image_expansion.js b/assets/js/image_expansion.js index d7bab189..66cc379e 100644 --- a/assets/js/image_expansion.js +++ b/assets/js/image_expansion.js @@ -86,10 +86,12 @@ function pickAndResize(elem) { clearEl(elem); } + const muted = store.get('unmute_videos') ? '' : 'muted'; + if (imageFormat === 'mp4') { elem.classList.add('full-height'); elem.insertAdjacentHTML('afterbegin', - `