Home Forums WoodMart – Premium Template stop video background from playing in mobile devices

This topic contains 5 replies, has 2 voices, and was last updated by Elise Noromit Elise Noromit 1 month, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #218374

    shuki
    Customer

    im using wpbakery Use “row settings: video background – YouTube link” in one of my rows. and added a youtube link to run in the background.
    in mobile phones this is heavy and id’e like to disable it.
    using
    CSS display:none
    doesnt stop DOM from loading and im still seeing the streaming happening in the developer tools “network tab”.
    i tried using jQuery

    jQuery(“.vc_video-bg-container”).attr(“data-vc-video-bg”, “”);
    jQuery(“.vc_video-bg-container”).attr(“data-vc-parallax-image”, “”);

    same result…..

    can you help me understand how to achieve this ?
    Thanks

    Private Content Hidden
    #218399

    Hello,

    Video cannot be used as a background in mobile by its nature. Any background is scaled on mobile what make impossible to apply video. That is why video background is often replaced with the image or color.

    Best Regards

    #218413

    shuki
    Customer

    as you can see,
    its still loading the videos in the background. even in mobile view
    see image
    this is very heavy on the page load

    Private Content Hidden
    #218484

    Hello,

    This is WP bakery functionality and it is the way it works, our theme does not influence this, unfortunately.

    Best Regards

    #218571

    shuki
    Customer

    ok, thanks

    #218610

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.