biati-digital / glightbox

Pure Javascript lightbox with mobile support. It can handle images, videos with autoplay, inline content and iframes
MIT License
2.01k stars 226 forks source link

`data-type="external"` is not documented #489

Closed mrleblanc101 closed 3 months ago

mrleblanc101 commented 3 months ago

I wanted to disable Plyr for my local <video>. I found data-type="external" in #126

gingerchew commented 3 months ago

Hey there @mrleblanc101,

We're getting v4 ready so we likely won't be adding to the existing documentation. You can find it in the code here. It just tells GLightbox to use the iframe slide type.

mrleblanc101 commented 3 months ago

I realized that external would not solve my problem (so I switched to another plugin) because it put my video inside an iframe, I need to the video at the root of the slide, but I don't want to use Plyr. I hope this is solved in v4 🤞