This repository was archived by the owner on Feb 23, 2023. It is now read-only.
Releases: fancyapps/fancybox
Releases · fancyapps/fancybox
v3.4.0
Changes
- Data attributes
data-triggeranddata-indexare renamed todata-fancybox-triggeranddata-fancybox-indexto avoid conflicts with Bootstrap - Initializing with
selectoroption will group all items into one videoFormatoption is replaced by newvideooption (video : {tpl : "..", format : "", autoStart : true}) and it is now possible to change html5 video template and to enable/disable autoplayautoFocusoption now has default valuetrue- Youtube videos now uses
youtube-nocookie.comdomain - Redesigned SVG icons
New
- New option
closeExistingcan be used to close any previously opened instances before opening new one - New callback
onSlideShowChangeis triggered when slideshow starts/stops
Improvements
This release is mostly focused on bug fixes. There are some performance improvements; improved user experience while using tab for navigating the page
v3.3.5
v3.3.4
Removed iOS hack related to wrong caret position for input field - https://bugs.webkit.org/show_bug.cgi?id=176896
v3.3.3
Support YouTube custom start time; test - https://codepen.io/anon/pen/mxapNK?editors=1000
v3.3.2
v3.3.1
- New option to customize URL for share modal, demo - https://codepen.io/fancyapps/pen/BrOqmQ?editors=1010
v3.3.0
- New feature - trigger elements; it is now possible to have multiple links having the same target, see the last example here - https://codepen.io/fancyapps/pen/VyLOJX?editors=1000
- Default toolbar buttons are now zoom/thumbs/close to make interface cleaner;
- Improved video (mp4) support - you can now link directly or display hidden
<video>element; - Videos (mp4 and YouTube/Vimeo, too) now keep aspect ratio;
- All icons are now created using SVG and navigation arrows have a simpler structure to make them easier to style;
createGroupmethod used to create the group is renamed toaddContentand now can be used to populate the group;- Removed
marginoption; use padding for.fancybox-slideelement instead; - Caption now uses one
divelement (droppedfancybox-caption-wrapelement) and pseudo element for the background gradient; - Dropped support for MetaCafe, Dailymotion and Vine
- The code is now standartized and formatted using prettier.io
- Bugfixes
v3.2.5
v3.2.1
- New options:
defaultType : 'image'- Default content type if cannot be detected automatically
thumbs.parentEl : '.fancybox-container'- Selector for element where thumbnails grid will be injected - Option
marginnow has default value 0 for mobile devices - Container is now placed at the bottom of the
- Thumbnail list should now scroll properly when
autoStartis enabled - Share module uses current page link if hash module is not disabled
- Bugfixes
v3.2.0
- New "Share" module (and button; you can use
buttonsoption to customize what buttons to display) - Layout/CSS changes:
- new inline SVG icons (there is also adownloadbutton available, hidden by default) and arrows;
- infobar now shows only counter, enabled by default;
- iOS hack to fix input focus issue. - Bugfixes