Jump to content

How do I remove the gradient on video player?

Go to solution Solved by paul2009,

Recommended Posts

  • Solution
6 hours ago, breemelanson said:

I need help removing the black gradient on the video control panels

image.thumb.png.c83080c1f2a763b6bff9ec521c0fdf9c.png

You can remove the background gradient behind the controls on the native video player with the following CSS, but it will make them difficult to see and could present accessibility issues:

image.thumb.png.9619e2265346750b71a0e19cf1334340.png

/* Hide controls gradient on native video player */
.video-player .plyr .plyr__controls:before {
  background-image: none;
}

If you don't want to see the gradient or the player controls, you can hide both instead: 

image.thumb.png.90df76d435c29e2a1c176af83cf53600.png

/* Hide controls on native video player */
.video-player .plyr .plyr__controls {
  display: none;
}

 

Was this post helpful? Please give feedback by clicking an icon below  ⬇️

Edited by paul2009

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
  • 3 months later...
  • stevecontor changed the title to remove shadow over video content
15 minutes ago, stevecontor said:

Is there a way to remove the shadow gradient from over the videos?

See my answer above.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
  • 5 months later...
  • 2 weeks later...

Hi Squarespacers,
I found some solutions to customize gradient on SQSP native video player.

Hope you'll find it useful 😀

/* Hide controls gradient on native video player */
.video-player .plyr .plyr__controls:before {
  background-image: none;
}

/* Hide controls on native video player */
.video-player .plyr .plyr__controls {
  display: none;
}

/* Change symbol and background color of Play/Pause button */
.video-player .plyr--video .plyr__control--overlaid {
  color:rgba(255,255,255,0.35) !important;
  background: #00B0A3 !important }

/* Customize video player gradient */
.video-player .plyr .plyr__controls::before
{
    height: 25% !important;
    background-image: linear-gradient(0deg,rgba(0,176,163,1),rgba(0,176,163,.9) 50%,rgba(0,176,163,.85)) !important;
  }
/* Tablet and desktop break */
@media only screen and (min-width: 641px){.video-player .plyr .plyr__controls::before {
    height: 8% !important;
    background-image: linear-gradient(0deg,rgba(0,176,163,1),rgba(0,176,163,.95) 50%,rgba(0,176,163,.9)) !important;
  }}

"height" is for (obviously) height of the gradient, and with "background-image" you can control color/transparency of gradient.

Be cautious when using "height" property because it could cover different area on desktop/mobile. I break it for Tablet & Desktop - @media only screen and (min-width: 641px) { INSERT CODE HERE } — as you can see in screenshots bellow (there isn't black line around larger video) .

/* Hide video caption */
.video-caption
{display: none !important}

Best Regards

Duško Bekar

Screen Shot 2023-04-03 at 2.26.28 PM.png

Screen Shot 2023-04-03 at 2.50.08 PM.png

bekar.haus

Link to comment
  • 10 months 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.