Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

v3.3.0

Choose a tag to compare

@fancyapps fancyapps released this 03 Apr 17:09
· 40 commits to master since this release
  • 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 to addContent 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 (dropped fancybox-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