- 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