Jump to content

Autoplay video without embedding it

Recommended Posts

Site URL: https://herring-oval-6885.squarespace.com/


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"
  <source type="video/mp4" src="https://drive.google.com/uc?export=download&id=1V63U_1saEijWsZcdCIYG5S6uel4OUHs9">
 <body oncontextmenu="return false;">

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!


Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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: 
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.