the_eddster Posted June 16, 2013 Share Posted June 16, 2013 I'd like to change the play button on the embedded video in my website so that that it's more obvious (i.e, black instead of white transparent). How do I do that? Thanks Link to comment
henry puttick Posted June 16, 2013 Share Posted June 16, 2013 the video button looks to be a image. Link to comment
trevordelaney1570047683 Posted June 16, 2013 Share Posted June 16, 2013 The button is infact a background image so your options are limited. You could try adding a black background to make it stand out though. Click the Style Editor (paint brush) and go to 'Custom CSS' on the left. A window will pop up.. try adding this. .sqs-video-wrapper .sqs-video-overlay .sqs-video-icon { background-color: #000000 !important; background-image: url("/universal/images-v6/icons/icon-video-48-light-solid.png"); background-position: center center; background-repeat: no-repeat; cursor: pointer; height: 48px; left: 50%; margin-left: -24px; margin-top: -24px; opacity: 0.8; padding: 8px !important; position: absolute; top: 50%; width: 48px; } Squarespace Designer / Developer over @ Hop Creative. Link to comment
mctrevor Posted November 20, 2013 Share Posted November 20, 2013 This is great. I am also curious if there is a way to remove the play button altogether (and have the entire area of the movie thumbnail be clickable to start the video). Or perhaps a way to use a custom play button icon? Thanks! Link to comment
ekwator Posted March 6, 2014 Share Posted March 6, 2014 One way to get a custom icon (that is retina friendly) is to use CSS shapes. You can first hide the existing icon image, then draw a shape in its place. Note: support for this may be lacking in IE7 and earlier. The following puts a triangle play icon inside a transparent circle: .sqs-video-wrapper .sqs-video-overlay .sqs-video-icon { background-image: none; background-color: #E9B130; background-color: rgba(233,177,48,0.8) !important; opacity:1; height: 56px; width: 56px; padding: 0px !important; border-radius: 56px; } .sqs-video-wrapper .sqs-video-overlay .sqs-video-icon:after { content: ""; width: 0; height: 0; border-top: 12px solid transparent; border-left: 14px solid white; border-bottom: 12px solid transparent; left:23px; top:16px; position:absolute; } Link to comment
squareology Posted March 11, 2015 Share Posted March 11, 2015 If all you want to do is make the play button black instead of white, here's all the CSS you need: .sqs-video-wrapper .sqs-video-overlay .sqs-video-icon { background-image: url("/universal/images-v6/icons/icon-video-48-dark-solid.png"); } Link to comment
stuffedofu Posted July 29, 2015 Share Posted July 29, 2015 Thank you for this solution. I like this solution a lot because it looks more intentional than putting a black box behind the existing icon. Link to comment
ZDP Posted October 29, 2015 Share Posted October 29, 2015 I am trying to customize a video play icon like this:http://www.iconsdb.com/dark-gray-icons/video-play-3-icon.html(but in white) is this doable? thanks z Link to comment
Brainbuster Posted May 11, 2018 Share Posted May 11, 2018 There is no "Custom CSS" in the Style Editor. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.