Jump to content

louieholm

Member
  • Posts

    0
  • Joined

  • Last visited

Reputation Activity

  1. Like
    louieholm reacted to paul2009 in Disable banner video on mobile?   
    Hello
    Squarespace don't control whether the background video is shown on mobile devices - it is controlled by your mobile's browser.
    In the past, mobiles would not load background videos but this changed recently because newer devices are now powerful enough to display them and an increasing number of networks (4G/5G/WiFi) are fast enough too.
    If you want to prevent them, you'll need some CSS. The CSS in your question is incorrect, so first you'll need to remove this. Then add the following (to Design > Custom CSS):
    @media only screen and (max-width: 768px) { #collection-580a9bee6a4963712b3646b8 .sqs-video-background .custom-fallback-image { display: block; opacity: 1; } #collection-580a9bee6a4963712b3646b8 .sqs-video-background iframe { display: none; } }
    This will remove the video on the specified page only. Let me know how you get on.
    -Paul
    Squarespace Expert & Professional Developer
    Contributors to this forum voluntarily give their time to help you. If we correctly answer your question, please accept the answer by clicking Accept below it (you'll see it when you're logged on). If an answer doesn't help, feel free to ask for more help or wait for other forum users to add their comments and/or answers.
    Whenever an accepted answer helps you, please vote it up using the up arrow on the right. This helps other forum users by giving them confidence in an answer.
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.