Jump to content

Randomize video played from YouTube playlist on home page

Recommended Posts

  • Replies 1
  • Views 269
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 4/13/2022 at 12:09 AM, RoyalCitySci said:

Site URL: https://royalcityscience.ca/

I'd like to add a block on our home page that plays a video randomly selected from a playlist on YouTube whenever someone visits. There is nothing readily available - has anyone written customized code to do this themselves? Thanks!

Have you added youtube videos on your site? I can not find them on the your home Page

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

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.