precioushb Posted May 26, 2021 Share Posted May 26, 2021 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
precioushb Posted May 28, 2021 Author Share Posted May 28, 2021 @tuanphan I spotted you are somewhat of an expert around here so hope you don't mind me tagging you 🙂 Link to comment
tuanphan Posted May 29, 2021 Share Posted May 29, 2021 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
precioushb Posted June 1, 2021 Author Share Posted June 1, 2021 Thanks for replying. Sorry not public yet so won't be able to... Link to comment
tuanphan Posted June 6, 2021 Share Posted June 6, 2021 You can setup site access password & share url 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
precioushb Posted June 17, 2021 Author Share Posted June 17, 2021 FYI and for anyone with the same issue, this seemed to fix it: https://stackoverflow.com/questions/52508598/html5-video-element-on-iphone-has-border#new-answer Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment