Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1407637

    The video is only on desktop and hidden in Layerslider on mobile.

    When we do a mobile speed test, it is loadiding the video for the desktop, giving us a terrible score.

    How do we stop this showing on a mobile speed test?

    Capture

    #1407738

    If anyone can help here…

    #1408028

    Hi,
    Thank you for your patience, typically when a element is hidden with css it is only hidden from view but it is still present in the source code. I’m not sure if the LayerSlider has a workaround for this, I would recommend asking the LayerSlider support team.
    If they can’t offer a solution you may be able to modify this solution which removed a slider from the page on mobile, and according to the tests it did so before the element was downloaded. If you are also using the LayerSlider on mobile to show an image instead of the video try using two separate layersliders and remove the video one on mobile instead of trying to remove the video layer alone.

    Best regards,
    Mike

    #1424432

    Same issue here. Did you find a solution for this?

    #1424468

    Hi,


    @mheckm
    : Mike provided a script that should completely remove the slider from the document on smaller screens. You might be able to adjust it to suit your needs.

    // https://kriesi.at/support/topic/hidden-full-screen-slider-image-is-downloaded-on-phone/#post-1375934

    If you have more questions, please feel free to open another thread.

    Best regards,
    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Video for desktop being seen on mobile speed test’ is closed to new replies.