Jump to content

Adding autoplay videos to portfolio

Go to solution Solved by joshuahext,

Recommended Posts

Posted

Hey all! So, this site:

https://andyrobertscreative.com/

Has videos in it's portfolio! Which I have been trying to do for ageees. Using inspect I've been able to see that they've somehow attached .sqs-video-background to those projects and that somehow it makes a video iframe appear with a fallback image while it's loading. 

Can anyone figure out how they've got this working and help? I'm getting pretty desperate. 

 

Thanks so much in advance! 

  • 1 month later...
  • Solution
Posted (edited)

Thanks for your suggestion Tuanphan, big fan of everything you do for people on here!

I've tried with GIFs but they're either very lossy or become so large they really slow the page down.

I've actually figured out how to achieve this using vimeo iframes and it's given me a much better result without slowing the page right down now so I'll mark this comment as the solution.

Edited by joshuahext

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.