azaslona123 Posted May 22 Share Posted May 22 I have a video with sponsor logos, and I would like it to loop continuously. It has dimensions of 2400x256px, but when I try to add a video block, it appears to be excessively large, and I am unable to adjust it to the video dimensions. I have already tried the following solutions: #block-yui_3_17_2_1_1716279960748_84123.video-block .video-player { padding-bottom: 10.67%; } and #block-yui_3_17_2_1_1716279960748_84123.video-block .video-player { width: 100%; max-width: 2400px!important; height: 256px!important; } #block-yui_3_17_2_1_1716279960748_84123.video-block iframe, #block-yui_3_17_2_1_1716279960748_84123.video-block video { width: 100%; } Various codes of this type as above also did not work. The website: www.toleasing.pl p: toleasing I want it placed like on the screenshot attached. Thanks in advance 🙂 Link to comment
azaslona123 Posted June 2 Author Share Posted June 2 Anyone? @tuanphan do you see any solution here? 🙂 Link to comment
Solution tuanphan Posted June 3 Solution Share Posted June 3 I found the logos in the video a bit shaky Also, you can achieve autoscroll logo with this guide, no need to use video But if you still want to use Video, use this CSS code div#block-yui_3_17_2_1_1716279960748_96623 .video-player { padding-top: 20% !important; } .fe-6638d79b51eebb396d58a873 { grid-template-rows: repeat(2,minmax(calc(~"var(--container-width) * var(--row-height-scaling-factor)"), auto)) !important; } 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
azaslona123 Posted June 13 Author Share Posted June 13 @tuanphan thanks a lot, it works perfectly! 🙂 I have another issue with this video now. It seems like it does not work on some phones. My iPhone plays it without a problem, but my brother's Android shows only "Video is not available" or something similar. Do you have any idea what the issue could be? Beyondspace 1 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