gallop Posted July 6, 2020 Share Posted July 6, 2020 Site URL: https://www.gallopapartments.com/ Hi @tuanphan I cannot adjust the size or center this video via unlinked files. I don't want to insert a Youtube link via the page's banner because it shows top and botom black borders that I don't want. So I added this code from https://www.amusing.ly/blog/2018/8/10/looping-videos-on-squarespace to the Code block to display my video instead. But I don't know why the video gets out of the frame. Please see picture below. The video is on the home page. Can you show me how to adjust its size and how to center the video? Website: www.gallopapartments.com Password: hello Thank you. Best, Link to comment
tuanphan Posted July 6, 2020 Share Posted July 6, 2020 Add to Home > Design > Custom CSS video { width: 100%; } 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
gallop Posted July 6, 2020 Author Share Posted July 6, 2020 @tuanphan I tried adding width: 100%, but the results is still the same This is the code I put in code block. The video is till off center. <video muted src="/s/Testing.mp4" width: 100% autoplay loop> Sorry, your browser doesn't support embedded videos. </video> Link to comment
tuanphan Posted July 6, 2020 Share Posted July 6, 2020 Add to Home > Design > Custom CSS 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
gallop Posted July 6, 2020 Author Share Posted July 6, 2020 (edited) The video is centered, but the size is too small. When I adjusted its width: 200%, it is off center again. Is it possible to make the video cover full-width of the page and have parallax? Similar to when you insert a YouTube link to Banner setting. Edited July 6, 2020 by gallop Link to comment
gallop Posted July 7, 2020 Author Share Posted July 7, 2020 Hi @tuanphan, is it possible to make the video cover full-width of the page and have parallax? Thank you. Link to comment
tuanphan Posted July 8, 2020 Share Posted July 8, 2020 Add to Home > Design > Custom CSS section#banner { div#block-yui_3_17_2_1_1594006058550_4675, video { width: 100%; } .Index-page-content { padding-left: 0; padding-right: 0; max-width: 100%; } } Parallax. I'm not sure. gallop 1 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
gallop Posted July 8, 2020 Author Share Posted July 8, 2020 Thank you so much for the answer. Please let me know if you figure out how to add the parallax in the future. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment