Skip to content

Unmute video in page builder slider

i was wondering if it was possible to unmute (and disable autoplay if needed) vimeo videos linked as background inside a slider. Like this basically:

screenshot of magento slider options

I can see magento rendering the video like this:

<iframe id="VideoWorker-0" src="https://player.vimeo.com/video/...?dnt=1&amp;id=...&amp;autopause=0&amp;transparent=0&amp;autoplay=1&amp;loop=1&amp;muted=1&amp;badge=0&amp;byline=0&amp;portrait=0&amp;title=0&amp;background=1" frameborder="0" mozallowfullscreen="" allowfullscreen="" title="Vimeo video player" tabindex="-1" aria-hidden="true" style="position: absolute; inset: 0px; width: 1656.89px; height: 1332px; max-width: none; max-height: none; pointer-events: none; transform-style: preserve-3d; backface-visibility: hidden; will-change: transform, opacity; margin: -200px 0px 0px -267.444px; z-index: -1; transform: translate3d(0px, 0px, 0px); visibility: visible;" data-ready="true"></iframe>

so i tried writing a quick script that could overwrite the autoplay=1 and muted=1 attributes once the slider loads but it doesnt seem to work.

Is there any other way?