(Squarespace) Click Image - Open Video Popup

To make Video Popup appear when users click an Image, you can follow these.

#1. First, create a Page in Not Linked.

With Name/URL: Content Lightbox – /content-lightbox

#2 . Edit Content Lightbox page > Add 3 Videos > Then find ID of 3 Videos

In my example, we will have:

  • Video 1: #block-yui_3_17_2_1_1740061835411_4445
  • Video 2: #block-66795d7c0e15e75ff722
  • Video 3: #block-ab8936a9207ccef99772

#3. Edit Images where you want to make Video Popup appear > Edit 3 Images > Add URL > Use this URL format.

Make sure β€œOpen in New Tab” is disabled

Image 1: #wm-popup=/content-lightbox#block-yui_3_17_2_1_1740061835411_4445

Image 2: #wm-popup=/content-lightbox#block-66795d7c0e15e75ff722

Image 3: #wm-popup=/content-lightbox#block-ab8936a9207ccef99772

#4. Install Popup Plugin

Plugin will give you some code to Code Injection > Header

and Footer

#5. Result

When users click Image 1 >> Video Popup 1 will appear

When users click Image 2 >> Video Popup 2 will appear

When users click Image 3 >> Video Popup 3 will appear

1 Like

@tuanphan,

:heart: :heart: :heart: