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:
I can see magento rendering the video like this:
<iframe id="VideoWorker-0" src="https://player.vimeo.com/video/...?dnt=1&id=...&autopause=0&transparent=0&autoplay=1&loop=1&muted=1&badge=0&byline=0&portrait=0&title=0&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?
