LCerdaDesignHelp Posted October 4, 2022 Share Posted October 4, 2022 Site URL: https://herring-oval-6885.squarespace.com/ Hello, I have added videos on my page directly as a block (not embedding them). Is there a way to get them to autoplay? Or do I have to embed them in order to do this? I tried uploading a few of them from Google Drive using this code: <video style="width: 100%" playsinline controls controlsList="nodownload" src="https://drive.google.com/uc?export=download&id=1V63U_1saEijWsZcdCIYG5S6uel4OUHs9"> <source type="video/mp4" src="https://drive.google.com/uc?export=download&id=1V63U_1saEijWsZcdCIYG5S6uel4OUHs9"> <body oncontextmenu="return false;"> </video> But videos over 100mb don't seem to load, so I've had to upload them directly onto the page. Could someone help please? Thank you! Lucia Link to comment
Ziggy Posted October 4, 2022 Share Posted October 4, 2022 Yes, you'll have to embed if you want them to autoplay, but be careful about page load times, and if you try and set the video to autoplay and unmute then you'll likely have problems with loading as autoplaying sound on websites gets blocked by most browsers. Video backgrounds autoplay by default if that's helpful, and there are plugins that will add controls to the video background if you want to offer the ability to unmute the sound. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Janeli Posted October 4, 2022 Share Posted October 4, 2022 Hi! Do I can use Embed block in our website where clients gets to upload the PowerPoint or documents? What code I have to use? Or I can use something like that in form? Janeli Link to comment
LCerdaDesignHelp Posted October 4, 2022 Author Share Posted October 4, 2022 Thank you for the response! All clear 🙂 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