Releases: sachinchoolur/lightGallery
Releases · sachinchoolur/lightGallery
Version 2.4.0-beta.0 release
Features
- Add i18n support (Special thanks to @arnaud-ober )
- Add rotate callback for Angular, React, and Vue components
- Add events for autoplay actions
autoplay
,autoplayStart
andautoplayStop
Bug Fixes
- Adds position: relative to body and breaks layout #1218
- Full screen videos not working on Safari OSX #1220
Contributers
Version 2.3.0 release
Summary
- Add URL params support for YouTube videos.
- Add URL parameters support for Vimeo videos
- Improve video autoplay experience
- automatically load poster images for youtube videos
- add iframe max-width max-height options
Breaking changes
- removed
showAfterLoad
option as it is already managed viastartClass
Bug fixes/improvements
- Fix Vimeo URL error when adding vimeoPlayerParams #1143
- Fix #1146 - Mixed content Uncaught TypeError
- Mousewheel support for IE and firefox #1182
- Fix autoplay issue when the poster image is not provided
- Mute YouTube and Vimeo videos by default. This is required to enable autoplay in some environments such as IOS, Chrome 66+, and Safari 11+.
autoplayVideoOnSlide
not working for videos without poster- HTML5 video is not playing on IOS without clicking on the poster
- Fix JS error when
startClass
set to empty string - Sometimes Images are cut off on IOS devices #745
- Angular SSR - window is undefined #1181
- Call polyfills only when lightGallery is initialized
- Set container default value as an empty string to avoid accessing document before lightGallery gets called
Version 2.3.0-beta.4 release
Bug fixes/Improvements
- Angular SSR - window is undefined
- Angular SSR - window is undefined #1181
- Call polyfills only when lightGallery is initialized
- Set container default value as an empty string to avoid accessing document before lightGallery gets called
Version 2.3.0-beta-3 release
Breaking changes
- removed
showAfterLoad
option as it is already managed viastartClass
Bug fixes
- Fix JS error when
startClass
set to empty string - Sometimes Images being cut off on IOS devices #745
Version 2.3.0-beta-2 release
- Mute YouTube and Vimeo videos by default. This is required to enable autoplay in some environments such as IOS, Chrome 66+, and Safari 11+.
- Add URL parameters support for Vimeo videos
- Bugfix - autoplayVideoOnSlide not working for videos without poster
- Bugfix - HTML5 video is not playing on IOS without clicking on the poster
Version 2.2.1 release
Fix #1146 - Mixed content Uncaught TypeError
Version 2.3.0-beta-1 release
Fix Vimeo URL error when adding vimeoPlayerParams #1143
Version 2.3.0-beta release
Add URL params support for YouTube videos.
Bugfix: Fix autoplay issue when poster is not provided
Version 2.2.0 release
Features
- Make rotate speed configurable via
rotateSpeed
option - Emit events on rotate and flip
- Add video tracks support - #1096
- Add an option set name for the downloaded file
- Add an option to append captions to the outer div. By setting
appendSubHtmlTo
to.lg-outer
, the main gallery portion and captions can be placed side by side
Bug Fixes
- Lack of druggability in zoomed view/portion of the image not reachable (after zoom in by double click) #1067
- Zoom transition issue #1085
- Safari Video Controls not working #1097
- Hide captions div when it is empty
- Youtube videos not working... #1101 (This was happening when
enableDrag
is false andenableTouch
is true and video poster is provided) - Vertical position of the prev/next controls "incorrect" - not centered #1045
- lg-zoom with lg-video crashes when zooming a video on iPhone #1103
- Data attribute for download URL not working as documented #1105
- Control Zoom behavior on inlined Light Gallery #1104
- Documentation of lgContainerResize event seems to be off #1106
- lgShare - fix google Lighthouse warnings #1089
- remove unnecessary overflow hidden for the thumbnail container
- Fix zoom plugin JavaScript error when the image takes time to load
- Re-position relativeCaption plugin on resize
- Typescript - make properties of GalleryItem optional
- Docs - Fix issue Union type defaults values were not displayed
Breaking Changes
- This release changes the HTML structure a little bit -
class.lg
has been renamed to.lg-content
andlg-inner
and controls have been
moved inside.lg-content.
This will affect your existing setup only if you have made any customization - Download button for video and iframes slides is not disabled by default. You need explicitly pass data-download-url="false" if you need to disable the download button.
- Settings width and height have been removed
Version 2.2.0-beta.5 release
Bug fixes
- lgShare - fix google Lighthouse warnings #1089
- remove unnecessary overflow hidden for the thumbnail container
- Fix zoom plugin JavaScript error when the image takes time to load
- Re-position relativeCaption plugin on resize
- Typescrpt - make properties of GalleryItem optional
- Docs - Fix issue Union type defaults values were not displayed
New feature
- Add an option to append captions to the outer div. By setting
appendSubHtmlTo
to.lg-outer
, the main gallery portion and captions can be placed side by side