Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Autoplay background video not working

  • Hi!
    I used the guide to get a background video, or to be precise, to get a video to play in a block.
    Everything works well, but the video doesnt show at all on my mobile. After making some research it seems like Safari on mobile doesnt like autoplay videos.. Is there are way to fix this?

  • Hi there,

    try replacing the video element with:

    <video autoplay muted playsinline class="background-video" src="your_video_url" type="video/webm""></video>

    Update your your_video_url

  • Hi there!
    Sorry, same problem with that code.

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