Jump to content

Rounded corners on video player

Go to solution Solved by Ziggy,

Recommended Posts

Hey,

I am having trouble getting my video player to have rounded corners. I have had partial success it seems the player controls are rounded but the actual playback is not. I have included a screenshot so you should hopefully be able to see.

The site is: https://www.dillonbradley.com/fios-tv
Password: justfordill

This is the code that I used up to this point:
 

//Rounded corner video block//
#block-yui_3_17_2_1_1673202071165_18469{
  border-radius: 30px !important;
   }
.video-player {
  -webkit-clip-path: inset(0px round 30px);
  clip-path: inset(0px round 30px);
}

 

many thanks!

Screenshot 2023-10-03 at 16.51.11.png

Link to comment
  • Replies 3
  • Views 1.8k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

  • Solution

Try this Custom CSS:

.video-player .plyr--video {
    border-radius: 42px;
}

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
1 minute ago, DillonBradley said:

Perfect, this worked!

Nice one!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.