Deeplink for multiple video lightboxes

I need to get unique deeplinks for each lightbox video on this page:
https://www.thoughtexchange.com/video/superintendent-dr-ayinde-rudolph-talks-thoughtexchange/

Currently, when I click each video the deeplink is the same “https://www.thoughtexchange.com/video/superintendent-dr-ayinde-rudolph-talks-thoughtexchange/#gallery-image/0

Is there a way to do this?

For example, it would be:
https://www.thoughtexchange.com/video/superintendent-dr-ayinde-rudolph-talks-thoughtexchange/#gallery-image/0
https://www.thoughtexchange.com/video/superintendent-dr-ayinde-rudolph-talks-thoughtexchange/#gallery-image/1
https://www.thoughtexchange.com/video/superintendent-dr-ayinde-rudolph-talks-thoughtexchange/#gallery-image/2

Hi,

To achieve that, you need to use only one lightbox shortcode for all three videos

Add the same class to all three image elements eg. Add my-image

Then create one lightbox shortcode with that selector

[lightbox selector=".my-image" deeplink="true"]

For more information kindly refer to the link below

Hope this helps

Thanks, when I implement what you recommended and click on the fist image - all the videos are running at the same time in the lightbox.

How can I get only the correct one to play in each lightbox?

Hi There,

In this case, you have to turn off the autoplay option:

https://www.youtube.com/embed/s00htwXbRwA?rel=0&controls=1&showinfo=1&autoplay=0

Hope it helps :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.