We've had really big problems with scaling Vanilla JS version so we've decided to refactor it completely. Now it's designed a lot better and it's much more scalable!
Total size of plugin was decreased from 64KB to about 50KB!
Basic version from 34KB to about 29KB!
- Added refreshFsLightbox() global function that detect new lightboxes or updates existing ones.
- Simplified adding Fullscreen Lightbox to webisite, now it's only js file.
- Custom sources, displaying anything you want, e.g. Google Maps, Iframes.
- Changed way of adding Vimeo videos, now you can do it via custom sources.
- Resolve CORS issues with automatic type detection via manually setting type (data-type attribute).
- Changed way of listening for events.