2023-W49

Dec 4–10, 2023

2 releases

Airfleet Elements plugins received updates with the addition of new components and filters for video rendering, including support for lazy-loading and auto-play/pause functionality. The airfleet-elements-videos-plugin introduced several new views and partials for rendering videos from different sources. Meanwhile, the airfleet-elements-core-plugin updated its plugin helpers to check for the correct data attribute.

airfleet-elements-videos-plugin

Release 0.2.0

Added new components and filters for video rendering, lazy-loading, and auto-play/pause functionality.

GitHub
View full changelog

Added

  • Added component view elements-components-video (render a video)
  • Added flexible component elements-video-source (represents a type of video source)
  • Added partial view elements-partials-video-file (render a video file)
  • Added partial view elements-partials-video-wistia (render a Wistia video)
  • Added component view elements-components-video-file (render a video file source)
  • Added component view elements-components-video-wistia (render a Wistia video source)
  • Added elements-components-video-file to flexible component elements-video-source
  • Added elements-components-video-wistia to flexible component elements-video-source
  • Added filter airfleet/elements/video/load_margin (set the margin for lazy-loading video when they are set to load when entering the viewport)
  • Added filter airfleet/elements/video/play_margin (set the margin for auto-play/pause video when option is enabled)
  • Renamed filter from airfleet/elements/background-video/video_load_margin to airfleet/elements/background-video/load_margin
  • Renamed filter from airfleet/elements/background-video/video_play_margin to airfleet/elements/background-video/play_margin
  • Added component view elements-components-video-overlay (display an overlay on top of a video, with style option to show a play button)
  • Added filter airfleet/elements/video/overlay/style (set the style options for the video overlay)
  • Added component view elements-components-video-poster (display a custom or default poster for the video)
  • Added video events: airfleet-video-playing, airfleet-video-paused, airfleet-video-ended
  • Renamed video event from airfleet-video-load-done to airfleet-video-loaded

Changed

  • Improved reliability for video integrations
airfleet-elements-core-plugin

Release 0.7.0

Updated data attribute checks in plugin helpers

GitHub
View full changelog

Changed

  • Updated all helpers that checked for data_attrs variable in context to check for data instead