Jump to content

half-page width for background video on desktop

Recommended Posts

Site URL: https://www.opalbuild.us/

Hello! I'm trying to have a background video just take up the left half of the page, so that text can accompany it on the right side of the page. Can someone help me with some code to do this? (this setting wouldn't apply to mobile, just desktop and tablet)

Right now, the video is hosted on vimeo. I'd like it to be a background video instead, to get rid of the player controls and to have it autoplay. (alternatively, maybe this can be achieved with code?) 

Screen Shot 2022-01-23 at 8.31.12 AM.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

#1. You mean increase video width & remove white padding around video?

#2. Try adding video with Code Block > use this code

<video width="100%" height="240">
  <source src="movie.mp4" type="video/mp4">
  Your browser does not support the video tag.
</video>

replace movie.mp4 with direct video 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

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.