OpalBuild Posted January 23, 2022 Share Posted January 23, 2022 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?) Link to comment
tuanphan Posted January 25, 2022 Share Posted January 25, 2022 #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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
floren_dina Posted February 28, 2023 Share Posted February 28, 2023 (edited) Hello @tuanphan, how can I reduce the height of the video container? www.psk-legal.de/home-2 PW: psk_ws2022 Edited February 28, 2023 by floren_dina Link to comment
tuanphan Posted March 5, 2023 Share Posted March 5, 2023 On 2/28/2023 at 5:41 PM, floren_dina said: Hello @tuanphan, how can I reduce the height of the video container? www.psk-legal.de/home-2 PW: psk_ws2022 Hi, Desktop or mobile? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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