Skip to content

v2.4.0

Choose a tag to compare

@dennishei dennishei released this 29 Nov 12:34
· 20 commits to main since this release

Upgrade

  • The administration was restructured; run bin/console assets:install (block preview images moved to bundles/scalevideooptimizer/img/cms/) and hard-reload the administration (#77).
  • Administration templates changed: the library page renders its cards per tab (blocks scalecommerce_vo_list_* keep their names but sit inside sw-tabs content), the CMS element configurations are wrapped in Content/Settings tabs, the product video card embeds the gallery in a modal and scalecommerce-vo-tag-picker is one sw-multi-tag-select field; overrides of these templates need a review (#77).
  • The file inputs of the upload, poster and subtitle forms are core sw-file-input components (drag and drop); plugins extending onFileSelected(event) now receive the file (#77).
  • The storefront bundle changed (mini player): run bin/console theme:compile and clear the cache (#77).
  • New administration snippets (list.tab*, gallery.networkError|selected|notAVideo, tags.newPlaceholder|existing, productVideo.none|choose|change|pickerTitle|close); overridden snippet files keep working (#77).
  • The product video card stores the library only together with a video; a library-only value left by 2.2.x is harmless and removed with the next change of the video (#69).
  • SCALECOMMERCE_VO_E2E_API exists for the end-to-end tests and is honoured only with APP_ENV=e2e or test; nothing to do, the base-URL hardening is unchanged elsewhere (#78).

Added

  • Playwright end-to-end tests (admin smoke in en/de, admin flows, editor, storefront, axe scans) against a local fake VideoOptimizer API, just e2e in the dev environment and a CI job; optional live smoke against a temporary library when VO_E2E_TOKEN is set (#78).
  • Test mode SCALECOMMERCE_VO_E2E_API (E2eApi) for the fake API, only in the e2e/test environment (#78).

Changed

  • Administration: library page in tabs (Videos, Library, Subtitles, Webhook and index, Savings), create mode shows only the library form, one error banner for a missing/rejected token without actions; core file inputs with drag and drop; one tag field with suggestions; stable status badge and checkmark on gallery tiles; add-video card with headings and the same field order for upload and import; core empty state in select mode (#77).
  • CMS element configurations with Content/Settings tabs; the focal point shows only for a fixed format with the native player, the autoplay hint only with autoplay; block previews are images; the media split kicker is shown as in the storefront (#77).
  • Product video card is compact (chosen video, "Change" opens the picker in a modal) (#77).
  • Mini player stands above the theme's scroll-to-top button and unpins when the video has ended (#77).

Fixed

  • Tags of the video detail could not be edited on Shopware 6.6 (v-model on the tag picker maps to value there) (#77).
  • Product video card follows the parent language chain (de-CH, de-DE, system language) for the inherited video (#69).
  • Changing the library in a language no longer stores a library without a video (#69).
  • Network errors during an upload show a translated message instead of the browser's text (#69).
  • The product gallery facade of an untitled video reads "Play video", not "Play: Video" (#69).

API level: 2026-11-27