If anyone can help here…
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
Same issue here. Did you find a solution for this?
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