Repository navigation
v2.4.0
Upgrade
- The administration was restructured; run
bin/console assets:install(block preview images moved tobundles/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 insidesw-tabscontent), the CMS element configurations are wrapped in Content/Settings tabs, the product video card embeds the gallery in a modal andscalecommerce-vo-tag-pickeris onesw-multi-tag-selectfield; overrides of these templates need a review (#77). - The file inputs of the upload, poster and subtitle forms are core
sw-file-inputcomponents (drag and drop); plugins extendingonFileSelected(event)now receive the file (#77). - The storefront bundle changed (mini player): run
bin/console theme:compileand 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_APIexists for the end-to-end tests and is honoured only withAPP_ENV=e2eortest; 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 e2ein the dev environment and a CI job; optional live smoke against a temporary library whenVO_E2E_TOKENis set (#78). - Test mode
SCALECOMMERCE_VO_E2E_API(E2eApi) for the fake API, only in thee2e/testenvironment (#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-modelon the tag picker maps tovaluethere) (#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