Jump to content

Video block without player controls does not play on mobile. Any way to fix this?

Recommended Posts

I'm on Squarespace 7.1, using a video block without player controls. On desktop, it works perfectly fine. But on mobile, nothing happens when tapping the video.

With player controls, it works fine on mobile. But I don't want to show any player controls.

Any way to fix this?

Thanks.

Edited by pro
Link to comment
  • Replies 4
  • Views 2.7k
  • Created
  • Last Reply

Top Posters In This Topic

  • 6 months later...

I'm having the same issues. Ideally the videos on my site wouldn't have the play icon hovering over the thumbnail. I used the css code below which successfully removed it from both the desktop and mobile side. However the mobile side videos don't play now. If I remove the code the videos function propertly. Any more suggestions would be greatly appreciated!

.video-player .plyr--full-ui.plyr--video .plyr__control--overlaid {
  display: none !important;
}
Link to comment
On 2/1/2024 at 11:22 PM, mattparka said:

I'm having the same issues. Ideally the videos on my site wouldn't have the play icon hovering over the thumbnail. I used the css code below which successfully removed it from both the desktop and mobile side. However the mobile side videos don't play now. If I remove the code the videos function propertly. Any more suggestions would be greatly appreciated!

.video-player .plyr--full-ui.plyr--video .plyr__control--overlaid {
  display: none !important;
}

You can consider make code run on desktop only with this code

@media screen and (min-width:992px) {
.video-player .plyr--full-ui.plyr--video .plyr__control--overlaid {
  display: none !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 months later...

You can change the opacity of the play button, so it's not visible but still intractable.

.video-player .plyr--full-ui.plyr--video .plyr__control--overlaid {
  opacity: 0 !important;
}
Edited by shembach
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.