sarahwood5 Posted January 3, 2023 Share Posted January 3, 2023 Hello, I have embedded multiple videos into my portfolio site, and none of the videos are displaying on mobile. Can you please help me figure out why? Embed code: <video autoplay="autoplay" loop="true" width=100%"> <source src="https://static1.squarespace.com/static/634ef0e6992d00397b17f041/t/635afac74b4eb724d4e5bfed/1666906825131/mobilehome.webm"/> </video> sarahwooddesign.com PW: cleo Thank you! Link to comment
tuanphan Posted January 7, 2023 Share Posted January 7, 2023 This line Quote <video autoplay="autoplay" loop="true" width=100%"> should be <video autoplay loop width="100%"> 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
sarahwood5 Posted January 10, 2023 Author Share Posted January 10, 2023 Hi @tuanphan- thank you for your help. I updated the line of code, but the videos are still appearing blank on mobile. Do you have any other suggestions? Link to comment
tuanphan Posted January 14, 2023 Share Posted January 14, 2023 On 1/10/2023 at 10:56 PM, sarahwood5 said: Hi @tuanphan- thank you for your help. I updated the line of code, but the videos are still appearing blank on mobile. Do you have any other suggestions? Which page do you use video? 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
Nick.Loubser Posted May 6 Share Posted May 6 @tuanphan Hey there, I'm looking to make this video optimised to show as a square video on Desktop and Mobile and keep it relative between screen sizes. This is the code: <iframe src="https://www.veed.io/embed/7225b707-12d1-4fb5-9a15-c769bbc2695b?watermark=0&color=&sharing=0&title=0" width="100%" height="500" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> Website example – https://www.whwt.org.nz/journal/a-conversation-with-jo-cribb Do you have any ideas? I'm looking to embed this into Squarespace code blocks Thanks Link to comment
tuanphan Posted May 9 Share Posted May 9 On 5/7/2024 at 4:05 AM, Nick.Loubser said: @tuanphan Hey there, I'm looking to make this video optimised to show as a square video on Desktop and Mobile and keep it relative between screen sizes. This is the code: <iframe src="https://www.veed.io/embed/7225b707-12d1-4fb5-9a15-c769bbc2695b?watermark=0&color=&sharing=0&title=0" width="100%" height="500" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> Website example – https://www.whwt.org.nz/journal/a-conversation-with-jo-cribb Do you have any ideas? I'm looking to embed this into Squarespace code blocks Thanks I see video looks fine. What is problem here? 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
Nick.Loubser Posted May 14 Share Posted May 14 (edited) @tuanphan I was looking to make the container Square 1:1 for both relative to mobile and desktop to avoid the black band at the top and bottom. So it looks like the attached image across all screen sizes. Edited May 14 by Nick.Loubser Link to comment
tuanphan Posted May 17 Share Posted May 17 You can use this code to Custom CSS box @media screen and (max-width:767px) { iframe[src*="veed.io"] { height: 350px !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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment