JayChampion Posted April 22, 2022 Share Posted April 22, 2022 Site URL: http://www.theiceboxx.com Site: www.theiceboxx.com password: iceboxx I am trying to get the attached video to fit properly within the desktop and mobile views. They both cut off the video when uploaded. Any assistance is appreciated. Thank you in advance. Werble-1BC732EFE-dsqz.mov Link to comment
Beyondspace Posted April 22, 2022 Share Posted April 22, 2022 1 hour ago, JayChampion said: Site URL: http://www.theiceboxx.com Site: www.theiceboxx.com password: iceboxx I am trying to get the attached video to fit properly within the desktop and mobile views. They both cut off the video when uploaded. Any assistance is appreciated. Thank you in advance. Werble-1BC732EFE-dsqz.mov Try @media only screen and (min-width: 768px) { section[data-section-id="625af59dd69eca1634ccd47a"] .plyr__video-wrapper video { height: auto !important; } section[data-section-id="625af59dd69eca1634ccd47a"] { min-height: 200vh !important; } } Let me know how it works on your site BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
JayChampion Posted April 24, 2022 Author Share Posted April 24, 2022 @bangank36 thank you for your help. It definitely helped with the desktop view. Is there a way to make it fit the mobile view also? It seems to cut off the I and X in Iceboxx and part of the ice cubes on the left. Any assistance is appreciated. Link to comment
tuanphan Posted April 24, 2022 Share Posted April 24, 2022 8 hours ago, JayChampion said: thank you for your help. It definitely helped with the desktop view. Is there a way to make it fit the mobile view also? It seems to cut off the I and X in Iceboxx and part of the ice cubes on the left. Any assistance is appreciated. Don't remove any code in your current code. Add this to Design > Custom CSS /* Mobile video */ @media screen and (max-width:767px) { [data-section-id="625af59dd69eca1634ccd47a"] video { width: 100% !important; height: auto !important; } [data-section-id="625af59dd69eca1634ccd47a"] { min-height: unset !important; height: 45vh; }} 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
JayChampion Posted April 24, 2022 Author Share Posted April 24, 2022 @tuanphanthank you!! it worked. Link to comment
raestanton Posted June 21, 2022 Share Posted June 21, 2022 On 4/24/2022 at 6:16 PM, tuanphan said: Don't remove any code in your current code. Add this to Design > Custom CSS /* Mobile video */ @media screen and (max-width:767px) { [data-section-id="625af59dd69eca1634ccd47a"] video { width: 100% !important; height: auto !important; } [data-section-id="625af59dd69eca1634ccd47a"] { min-height: unset !important; height: 45vh; }} Hey Tuanphan I'm having a similar issue on one of my client sites: https://snail-gopher-y6jg.squarespace.com/ (pwd: lush) I've tried the code you suggested above, modified the id and played around with the measurements, but I can't get it to work! Would you mind please having a look? At the moment I added in a blank section above the bg video on the home page so that it didn't get cropped by the menu, and it works on desktop, but on mobile I get the black bars top and bottom. There's a bg video on the videography page as well: https://snail-gopher-y6jg.squarespace.com/videography Thank you! Rae Link to comment
tuanphan Posted June 21, 2022 Share Posted June 21, 2022 3 hours ago, raestanton said: Hey Tuanphan I'm having a similar issue on one of my client sites: https://snail-gopher-y6jg.squarespace.com/ (pwd: lush) I've tried the code you suggested above, modified the id and played around with the measurements, but I can't get it to work! Would you mind please having a look? At the moment I added in a blank section above the bg video on the home page so that it didn't get cropped by the menu, and it works on desktop, but on mobile I get the black bars top and bottom. There's a bg video on the videography page as well: https://snail-gopher-y6jg.squarespace.com/videography Thank you! Rae Resize video + Make text over video OR Resize video + Make text under video (I think this will be better) 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment