Streaming live at 10am (PST)

Randomize Slides On Page Load


#1

I have a slider of videos that I want to randomize the order when it loads. I used the code outlined here https://forum.webflow.com/t/different-slider-each-time-the-page-loads/21720 but when I do, the videos no longer autoplay. Any ideas?


#2

@Waldo do you minding looking at this?


#3

Where’s @Waldo? Can you please look at this?


#4

Hi @mingo my apologies, I just saw this!

Could you please update your post with some more information so we can help you faster? Things like your read-only link & screenshots really helps us to help you faster :slight_smile:

How to share a read-only link:

Thanks in advance! :bowing_man:

It’s really difficult to tell if that script would cause the videos to stop auto-playing. So anything that you can share would be very helpful. Thanks in advance! :bowing_man:


#5

So I used your code in the referenced link to randomze a lightbox of videos. Indeed when I paste this code to the body of the page, the videos appear in random order. However, they do not auto play.

When I remove the code they no longer appear in random order but, they do auto play. I was hoping to have them appear in random order and autoplay.