Jump to content

How to remove grey outline / overlay on looping video code block (only shows on mobile)

Recommended Posts

 

Hi there, I found the following code in a youtube tutorial for autoplaying and looping video in squarespace. It shows up fine on desktop, but on mobile the video has a grey outline / boundary or a grey overlay (differs on Android / iOS). 

This is the code I'm using as a code block (video URL removed for now - it's the URL generated when you upload to 'manage custom files')

<center> 
<video autoplay=
autoplay" loop="true" width="100%">
  <source src="VIDEO LINK GOES HERE
" type="video/mp4"/>
 </video>
 </center>
                         

Any ideas how to fix this on mobile? Note - I don't code so please make any technical instructions simple 🙂

Thanks!

Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

On 5/28/2021 at 4:06 PM, precioushb said:

@tuanphan I spotted you are somewhat of an expert around here so hope you don't mind me tagging you 🙂

Can you share link to page where you added the code? We can check easier

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 2 weeks later...

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.