archetyped / simple-lightbox-extensions

Feedback & Support for Simple Lightbox Extensions
https://archetyped.com/tools/simple-lightbox/
2 stars 3 forks source link

[Video / Issue]: Link opened in Youtube, not in a lightbox #118

Closed AELLIOWA closed 9 months ago

AELLIOWA commented 9 months ago

Description of issue

https://jazzinmacao.com/concerts-2025/ PAssword : 1234 I have installed the 2 plugin SImple Lighbox and its video tension only to the website jazzinmacao.com I tried to create a link to a video. from the picture to illustrate ELECTRO SWING CONCERT It is opened normally, not in a LightBox. I kept the default plugin setup as it.

Details

AELLIOWA commented 9 months ago

corresponding source code on the page :

<a href="https://youtu.be/9TQBz2vJw00?si=zkrn1bmeFhJtzSff" data-slb-active="1" data-slb-asset="1603446573" data-slb-group="139"><span class="et_pb_image_wrap et_pb_only_image_mode_wrap"><img decoding="async" width="1080" height="720" src="http://jazzinmacao.com/wp-content/uploads/sites/16/2023/10/parov-stelar-jazz-in-macao.jpg" alt="" srcset="https://jazzinmacao.com/wp-content/uploads/sites/16/2023/10/parov-stelar-jazz-in-macao.jpg 1080w, https://jazzinmacao.com/wp-content/uploads/sites/16/2023/10/parov-stelar-jazz-in-macao-980x653.jpg 980w, https://jazzinmacao.com/wp-content/uploads/sites/16/2023/10/parov-stelar-jazz-in-macao-480x320.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1080px, 100vw" class="et-waypoint et_pb_animation_off et_pb_animation_off_tablet et_pb_animation_off_phone wp-image-314 et-animated"></span></a>
archetyped commented 9 months ago

Hi, it appears that the <div> element containing the thumbnail link has a click event handler that is intercepting the clicks and stopping SLB from running.

Removing/disabling whatever is allowing the <div> elements to be clickable should allow the thumbnail link to be properly clicked and display the video in the lightbox.

Please provide an updated link if you are still experiencing an issue once the click <div> click event handler has been removed and I would be glad to take another look.