I’m currently building a website on Webflow and would like to have a button that, when clicked, plays a random video from a CMS Collection. I’ve followed the steps from Webflow University, but I can’t seem to get it to work.
I would really appreciate it if someone could help me troubleshoot this issue
You’ll need to post your read-only project link here if you’re looking for help.
Also in your case, a published link to your webflow.io site would be useful too.
And a link to the tutorial you’re trying to follow.
In general if you want to go 100% native to Webflow, the easiest approach is probably to wire up your collection list so that every item has the play button. Then set the list to sort = random, and limit to 1 ( starting at 1 ).
This will give you one button, playing one video ( via lightbox, I assume? ), and the video it plays is random every 12 hours.