Skip to content

v2.2.1

Choose a tag to compare

@dennishei dennishei released this 29 Nov 09:16
· 42 commits to main since this release

Upgrade

  • composer.json requires shopware/storefront (same range as shopware/core); a shop without the storefront bundle can no longer install or update the plugin (#66).
  • A video detail (?vo_video=) or a list follow-up page that is temporarily unavailable (API outage, rate limit, refusal, exhausted lookup budget) now answers 503 with Retry-After: 60 instead of 200 with noindex; only a verified "not found" keeps noindex. Monitoring that treats 5xx as an alarm will see these during API outages (#56).
  • Uncached lookups of videos from the URL are limited to 10 per minute and client (IP, IPv6 per /64) within the existing 30 per minute for the shop; behind a reverse proxy or CDN configure TRUSTED_PROXIES, otherwise all visitors share one client's 10 per minute; verified videos are remembered for 24 h instead of 1 h (#55).
  • VideoOptimizerClient takes the request_stack as an optional last constructor argument, VideoListElementResolver the ignored URL parameters, and VideoDetailMetaSubscriber the SEO URL placeholder handler; subclasses or manual instantiation keep working with the defaults (#55, #57, #58).
  • New storefront markup, snippets and styles (scalecommerce-vo.storefront.pause, playTitle, changed sceneAria; scalecommerce-vo-video__toggle, scalecommerce-vo-video__notice): native <video> elements carry an aria-label, autoplaying players without controls get a pause/play button, the "cannot be played" notice is a role="status" element instead of CSS generated content; themes overriding the player templates should adopt them; compile the theme (theme:compile) after the update (#59, #60, #67).
  • The video list's paging links no longer carry the parameters of shopware.http_cache.ignored_url_parameters (e.g. utm_*, gclid) (#58).
  • The product video card needs the permission scalecommerce_vo.viewer (editors without it no longer see it), and without product.editor it is read-only; the "Off for this language" choice is stored as an empty string in scalecommerce_vo_product_video (#61, #62).

Added

  • Pause/play button for a native player that autoplays while its native controls are off (option, play while visible or player theme), also for players built after a facade or lightbox click and when the theme makes the player non-interactive (#59).
  • The product video card shows the video inherited from the default language (marked) and offers "Off for this language" (#61).

Changed

  • Uncached video lookups are limited per client (10 of the 30 per minute for the shop); verified owners, also those seeded from list pages, are cached for 24 h (#55).
  • The product video card is shown only with scalecommerce_vo.viewer and is read-only without product.editor (#62).
  • shopware/storefront is a requirement; the PHPStan ignore patterns for its classes are gone (#66).
  • CI runs the GitHub Actions and the JavaScript toolchain on Node.js 24 (#53).

Fixed

  • A temporarily unavailable video detail or list follow-up page answers 503 with Retry-After: 60 and no noindex, so search engines keep the page (#56).
  • A video deleted without a webhook shows "not found" instead of a day of 503, and an upstream 400 for a list cursor falls back to the first page (#56).
  • The canonical of a video detail on a landing page is built from the landing page's SEO URL instead of /landingPage/<id> (#57).
  • The video list's paging links no longer take over the first visitor's campaign parameters through the page cache (#58).
  • Native <video> elements have an accessible name and the "cannot be played" notice is announced (#60).
  • Keyboard focus alone (Tab) on a hosted player no longer pins an idle mini player; clicks and taps still count as started (#64).
  • The accessible name of the scene buttons contains their visible text in the visible order (WCAG 2.5.3) (#67).
  • The product video card shows and edits the video per content language (#61).
  • The gallery's management mode shows the full title as a tooltip (#63).
  • Upload parts are not retried after a 4xx answer of the storage host (except 408 and 429), and the editor sees the reason of a failed upload (#65).
  • just validate reports 0 errors again: the PHPStan findings in VideoOptimizerClient are fixed (#66).
  • Tests no longer fail on macOS, with symfony/http-client 7.4 or under Xdebug's develop mode (#68).
  • PHPStan no longer fails on ignore patterns that match nothing (#54).

API level: 2026-11-27