Jump to content

Video Carousel in 7.1?

Recommended Posts

Hi Everyone,

From everything I've been reading, it sounds like SquareSpace removed the ability to create a carousel style gallery of videos in 7.1.  I'm looking for a way that doesn't require CSS to do this, since I plan to subscribe to the basic personal plan.  It seems odd they would REMOVE a feature with the latest engine, but if there's not an easy workaround I'll probably just look elsewhere for my website hosting.  Thanks!

Edited by mgvfx
Link to comment

@mgvfx This is very frustrating, if you find a workaround I would really appreciate it. Trying to add client logo as a scrolling marque - but the scrolling feature doesn't allow you to add images... what a waste, as it would have solved the issue. 

 

@tuanphan any other suggestions? This doesn't work. 

Link to comment
On 12/9/2022 at 12:49 AM, T33 said:

@mgvfx This is very frustrating, if you find a workaround I would really appreciate it. Trying to add client logo as a scrolling marque - but the scrolling feature doesn't allow you to add images... what a waste, as it would have solved the issue. 

 

@tuanphan any other suggestions? This doesn't work. 

Scrolling like this? (auto scroll)

image.thumb.png.0a5f2a5aabf9ebbfd4a6ee81f70ece91.png

 

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

You can use a gallery block and upload the video URL there via Vimeo or YouTube. Here's an article detailing how to do it: https://www.bycrawford.com/blog/uploading-videos-to-a-squarespace-gallery

Only thing is with 7.1, you may need the lazy summaries plugin from Square Websites to make this happen if Squarespace has removed the video upload feature.

Edited by bycrawford
Sam Crawford | by Crawford.
 
Multi-award-winning Squarespace expert
 
💸 How I make $500k/year designing Squarespace websites: Watch the video
📱 Hire me to build your Squarespace website: calendly.com/bycrawford/call
 
Did my comment help? To help others benefit, leave a like and mark my answer as 'best'. This lets users scroll straight to the solution they need.
Link to comment
1 hour ago, bycrawford said:

You can use a gallery block

Except that the 7.1 Gallery Block is not generally available. It is only available to Circle members.

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment
27 minutes ago, paul2009 said:

Except that the 7.1 Gallery Block is not generally available. It is only available to Circle members.

That's why I said this...

"Only thing is with 7.1, you may need the lazy summaries plugin from Square Websites to make this happen if Squarespace has removed the video upload feature."

Sam Crawford | by Crawford.
 
Multi-award-winning Squarespace expert
 
💸 How I make $500k/year designing Squarespace websites: Watch the video
📱 Hire me to build your Squarespace website: calendly.com/bycrawford/call
 
Did my comment help? To help others benefit, leave a like and mark my answer as 'best'. This lets users scroll straight to the solution they need.
Link to comment
  • 1 year later...

Hey yall - i was so annoyed by this that i wrote some code for video carousels - this one has a click & drag to scroll function. 

 

<div class="video-carousel-container" id="videoCarouselContainer">
  <div class="video-carousel-wrapper">

    <!-- Add your video elements here -->

    <div class="video-item"><video controls><source src="VIDEO_SOURCE_1.mp4" type="video/mp4"></video></div>

    <!-- Add more videos as needed -->


  </div>
</div>

<style>
  .video-carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden; /* Hide overflowed part */
  }

  .video-carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
  }

  .video-item {
    box-sizing: border-box;
    padding: 10px; /* Adjust the spacing between videos */
    flex: 0 0 auto; /* Do not grow and shrink, but allow basis to be auto */
  }

  .video-item video {
    width: 80%; /* Adjust video width to fit the container */
    aspect-ratio: 9 / 16; /* This sets the video to a 9:16 ratio */
    border-radius: 15px; /* Rounded corners for the video */
    overflow: hidden; /* Ensures the video doesn't overflow the rounded corners */
  }
</style>
<script>
let isDragging = false;
let startPos = 0;
let initialPos = 0;

const wrapper = document.querySelector('.video-carousel-wrapper');

wrapper.addEventListener('mousedown', (e) => {
  isDragging = true;
  startPos = e.pageX;
  initialPos = wrapper.style.transform.replace('translateX(', '').replace('%)', '') || 0;
  initialPos = parseInt(initialPos, 10);
  
  // Prevents the default dragging behavior of images/videos
  wrapper.querySelectorAll('video').forEach(video => {
    video.addEventListener('dragstart', (e) => e.preventDefault());
  });
});

document.addEventListener('mousemove', (e) => {
  if (!isDragging) return;
  const currentPos = e.pageX;
  const diff = currentPos - startPos;
  
  const transformValue = initialPos + (diff / wrapper.offsetWidth) * 100;
  wrapper.style.transform = `translateX(${transformValue}%)`;
});

document.addEventListener('mouseup', () => {
  if (!isDragging) return;
  isDragging = false;
});

document.addEventListener('mouseleave', () => {
  if (!isDragging) return;
  isDragging = false;
});
</script>

Link to comment

Try Classic Gallery block to bypass the limit and add Gallery blocks to your 7.1 sections, detail here

https://beyondspace-showcase.squarespace.com/classic-gallery-block

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • 1 month later...

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.