Background and Popup Video

  • 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

  • Hi there,

    This isn’t possible with GP/GB alone, as the effect requires functionality more suited to a dedicated video player.

    You could try using a plugin like Presto Player for this.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.