Hi team,
I want to embed a video in my GeneratePress site in such a way that:
The video autoplays (muted) when the page loads.
If the user wants, they can click on it to watch with sound (like expanding into normal play mode).
Here’s a reference example of what what i want https://share.zight.com/eDuDblmX
Could you please guide me on the best way to achieve this in GeneratePress + GenerateBlocks?
– Should I use the core video block or a custom HTML embed with autoplay, muted, and playsinline attributes?
– And how can I allow the user to click to enable sound/play without breaking autoplay?
Any code snippet or recommended approach would be really helpful.
Thanks!
I have add my site link in private