Site logo

[Resolved] Page Hero BG video optimal delivery conditions?

Home Forums Support [Resolved] Page Hero BG video optimal delivery conditions?

Home Forums Support Page Hero BG video optimal delivery conditions?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2546225
    Daniel

    I’ve added a Page Hero bkgrnd video as an Element (per these instructions). I’ve set it to autoplay and loop. The video is approx. 2mb and 20″ long. It only starts after a long time and randomly at that (sometimes after half an hour or more, usually not at all). I’m serving it from my media library, but it doesn’t seem like that would be the issue bc I also am serving a similarly sized video on my About page and it starts immediately when clicked (controls are showing since it’s not a bkgrnd video). Can be seen here. Thanks.

    #2546452
    David
    Staff
    Customer Support

    Hi there,

    For a browser to play a video it has to open a stream or download the entire video.
    Aside from a browser choosing not to load a video, eg. a Phone in Lower Power Mode will do this. You also have to consider the amount of traffic going to your site. As this will affect a servers performance and its ability to stream a video.
    If you’re getting a lot of traffic then you may want to consider a 3rd party service for serving the video like Vimeo or a bitbucket server.

    #2546765
    Daniel

    Thank you, David. I will give that a shot. How does this look code wise? My results seem to be the same…

    <video loop autoplay playsinline poster="/wp-content/uploads/2023/02/poster-ocean_map-1920x300-1.jpg"  class="background-video">
        <source src="https://vimeo.com/802276040" type="video/mp4">
    </video>
    
    <div class="background-video-content">
    
    </div>

    (I gave .background-video-content a height of 300px since it has no content).

    #2547357
    David
    Staff
    Customer Support

    Do you have a paid for Vimeo account? As that would be required for this.

    #2547871
    Daniel

    Oh, interesting. It isn’t just a matter of inserting the link?

    #2548058
    Daniel

    I’m still stumped. I signed up for a free trial, but that doesn’t seem to have changed anything.
    Could it be: Movie type (mp4, m4v, mov) is indicated indirectly? I tried each…

    #2548358
    David
    Staff
    Customer Support

    Theres an option in Vimeo somewhere that generates an External link, and its that link you require for the video HTML to work.

    #2549167
    Daniel

    Turns out the paid “Plus” vimeo membership is not sufficient – according to this helpful video. A pro account is required (currently $20/mo. billed annually). For now, I’m going to let it go. I will continue to keep my eyes peeled for other options.

    #2549674
    David
    Staff
    Customer Support

    Ah ok. I hope you find what you need

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