This repository has been 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-trigger
anddata-index
are renamed todata-fancybox-trigger
anddata-fancybox-index
to avoid conflicts with Bootstrap - Initializing with
selector
option will group all items into one videoFormat
option is replaced by newvideo
option (video : {tpl : "..", format : "", autoStart : true}
) and it is now possible to change html5 video template and to enable/disable autoplayautoFocus
option now has default valuetrue
- Youtube videos now uses
youtube-nocookie.com
domain - Redesigned SVG icons
New
- New option
closeExisting
can be used to close any previously opened instances before opening new one - New callback
onSlideShowChange
is 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;
createGroup
method used to create the group is renamed toaddContent
and now can be used to populate the group;- Removed
margin
option; use padding for.fancybox-slide
element instead; - Caption now uses one
div
element (droppedfancybox-caption-wrap
element) 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
margin
now has default value 0 for mobile devices - Container is now placed at the bottom of the
- Thumbnail list should now scroll properly when
autoStart
is 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
buttons
option to customize what buttons to display) - Layout/CSS changes:
- new inline SVG icons (there is also adownload
button available, hidden by default) and arrows;
- infobar now shows only counter, enabled by default;
- iOS hack to fix input focus issue. - Bugfixes