I successfully created a background video based on this tutorial…
https://docs.generatepress.com/article/page-hero-background-video/
…and added the controls value to the <video tag> as suggested by David in this topic: https://generatepress.com/forums/topic/video-background-from-youtube/
This allows users to unmute the video anywhere they want, but also hides the video at mouse over.
Question: How do I limit the controls-interaction to an area around the background-video-content only? I added the text “Ton an” (which means “unmute” in English) to show you where I would like the interaction to be possible.
I was thinking along the lines of adding a transparent layer (z-index) which cover 90% of the video and leaves only 10 % uncovered on the right hand side of the screen.
Any thoughts on how that can be included into the HTML of the page hero?
Thanks,
Jan