Site logo

[Resolved] Video to section background

Home Forums Support [Resolved] Video to section background

Home Forums Support Video to section background

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1235505
    takkularapsis

    Hi,

    Is there a way to put a mp.4 video to section background as it is possible to page hero?

    #1235706
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    The same instructions should apply to Sections: https://docs.generatepress.com/article/page-hero-background-video/

    You just need to replace page-hero in the CSS with generate-sections-container.

    #1265474
    Mathias

    Thank you for pointing us to this solution. We had the same question.

    We’ve had some trouble to figure out why there remained a white frame around the background video. After a while we found out that one has to take care of the general settings in GP customizer for container margins. I just wanted to add this experience.

    And there is a related question:

    Unfortunately the video does not auto-play on mobile (iOS Safari / others not tested). Do you know how to force it to play?

    If you’d like to take a look, please scroll a bit:
    https://mygoal.de/aktion/

    #1265578
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    I don’t believe it’s possible to force it to play on mobile. They intentionally block auto-playing videos to save bandwidth.

    #1265753
    takkularapsis

    Yeah, thank you for you support again!

    #1265890
    Mathias

    Makes sense. Thank you Tom!

    #1266395
    Tom
    Lead Developer
    Lead Developer

    No problem 🙂

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