Jump to content

Black lines appearing on sides of <video> block code injection on scroll

Recommended Posts

Posted

I am attempting to autoplay embedded videos on my site with a seamless background. I am noticing black lines surround the videos on scroll and wondering how to get these to disappear.

Code Below:

<video style="width: 100%" autoplay muted
  playsinline loop controlsList="nodownload"
  src="https://dove-sunflower-pjxg.squarespace.com/s/EV-handpress.mp4">
    <source type="video/mp4" src="https://dove-sunflower-pjxg.squarespace.com/s/EV-handpress.mp4">
  <body oncontextmenu="return false;">
</video>

  • Replies 1
  • Views 222
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted
12 hours ago, dmartin said:

I am attempting to autoplay embedded videos on my site with a seamless background. I am noticing black lines surround the videos on scroll and wondering how to get these to disappear.

Code Below:

<video style="width: 100%" autoplay muted
  playsinline loop controlsList="nodownload"
  src="https://dove-sunflower-pjxg.squarespace.com/s/EV-handpress.mp4">
    <source type="video/mp4" src="https://dove-sunflower-pjxg.squarespace.com/s/EV-handpress.mp4">
  <body oncontextmenu="return false;">
</video>

Can you share your site with the protected password so I can take a look?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

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.