Skip to content

Releases

v2.4.5

Choose a tag to compare

@dennishei dennishei released this 01 Dec 15:26

Upgrade

  • The administration bundle changed: run bin/console assets:install and hard-reload the administration (#85)

Fixed

  • Video gallery (library module, the video pickers of the CMS elements and the product video card): the status badge sat on the right edge of the poster, clipped, instead of the top left corner; Shopware's own sw-label CSS overrode its position (#85)

API level: 2026-11-27

v2.4.4

Choose a tag to compare

@dennishei dennishei released this 01 Dec 13:37

Fixed

  • jsonLd and playbackToggle set to false from the console without --json (stored as the string "false") stayed on; they now parse the stored value (#84)
  • blockPrivateNetworks set to an empty string from the console (system:config:set … "") switched the private network protection off; an empty or blank value now keeps it on, like an unset one (#84)

API level: 2026-11-27

v2.4.3

Choose a tag to compare

@dennishei dennishei released this 01 Dec 10:13

Upgrade

  • The storefront bundle and the player templates changed: run bin/console theme:compile and clear the cache; themes overriding the background hero, single video or surface templates should adopt the data-vo-no-toggle marker (#83).

Added

  • Pause/play button opt-out: plugin setting playbackToggle (default on) and the HTML attribute data-vo-no-toggle on a video, its surface or any ancestor element; players built on click keep their native controls without the button (#83).
  • data-vo-user-paused on a <video> (set by a theme control or by the plugin on a pause it did not cause) keeps the plugin from starting it by itself (#83).

Fixed

  • An autoplaying video that was paused is no longer restarted when its source falls back to MP4 (#83).

API level: 2026-11-27

v2.4.2

Choose a tag to compare

@dennishei dennishei released this 29 Nov 18:21

Upgrade

  • The administration bundle changed: run bin/console assets:install and hard-reload the administration (#82).

Added

  • CI runs the E2E suite on Shopware 6.6 as well as on 6.7 (#81).

Fixed

  • Shopware 6.6: "Rename" and "Delete" in the menu of a video tile also opened the video detail (#82).

API level: 2026-11-27

2.4.1

Choose a tag to compare

@dennishei dennishei released this 29 Nov 15:12

Upgrade

  • The administration bundle changed: run bin/console assets:install and hard-reload the administration (#79, #80).
  • The button link of the media split and hero elements is the core link field; stored URLs keep working unchanged, overrides of the two element configuration templates need a review (#79).

Added

  • Media split and hero: the button link uses the core link field (URL, product, category, file, email, phone); product, category and file links become the URL of the current sales channel and language (#79).

Fixed

  • Shopware 6.6: the VideoOptimizer blocks stayed empty in the layout editor, their elements could not be configured (#80).

API level: 2026-11-27

v2.4.0

Choose a tag to compare

@dennishei dennishei released this 29 Nov 12:34

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

v2.3.1

Choose a tag to compare

@dennishei dennishei released this 29 Nov 11:18

Upgrade

  • With framework.cache.app set to an in-memory array adapter (APP_ENV=dev) the ownership index now lives in a plugin pool in var/cache/<env>_h<hash>/scalecommerce_vo (dropped by a cache clear and by plugin changes; expired entries are pruned on every build); shops with a persistent cache.object (filesystem, Redis) are unchanged (#72).
  • The administration snippets of the ownership index moved from apiNotice.index* to webhook.index*; overrides of the old keys no longer apply (#71).
  • German texts address the user with "Du" throughout and use "Videodetail-Index", "Videoraster" and "Medien-Split"; overridden German snippets keep their old wording (#75).
  • The video list renders its element id as id="scalecommerce-vo-video-list-<element id>" and its paging links end with that anchor; the video detail element has an optional "Video list page" setting (listCategoryId) for a link back from "not found" (new snippet scalecommerce-vo.storefront.videoBackToList); rebuild the theme (theme:compile) and clear the cache (#74).
  • The product video's VideoObject JSON-LD is output once by the new template storefront/page/content/product-detail.html.twig (page extension scalecommerceVoProductVideo), no longer inside the gallery slide; themes overriding that template or utilities/video.html.twig need to keep it. The cloned gallery slides keep their (clickable) facades on purpose (#76).
  • An idle native player with an MP4 rendition now carries the MP4 as its idle source with preload="none" and attaches hls.js (position kept) on the first play; before that no media source and no segments are loaded, so no loading spinner shows over the poster. A video without an MP4 attaches hls.js at once as before; code that expects data before the first play must not rely on it (#73).

Changed

  • The ownership index uses a persistent filesystem pool when cache.object is an array adapter and prunes it on every build (#72).
  • Native players start hls.js on the first play instead of at page load (#73).
  • Video list titles wrap, paging links keep the list in view, "not found" can link back to the list page (#74).
  • Administration: read-only library form without the permission, tab title, loaders for create/delete, current poster frame marked (also after reopening) and confirmed, translated status, refreshed poster and tag filter, focused rename field, empty state without a library, consistent German wording, violet VO extension icon (#75).
  • The product video's JSON-LD is rendered once per product page (#76).

Fixed

  • Ownership index card showed raw snippet keys; the snippet-key test now also covers runtime-built keys (#71).

API level: 2026-11-27

v2.3.0

Choose a tag to compare

@dennishei dennishei released this 29 Nov 10:13

Upgrade

  • A new scheduled task scalecommerce_vo.refresh_ownership_index builds the ownership index; register it with bin/console plugin:update ScaleVideoOptimizer (or scheduled-task:register) and make sure the scheduled tasks run (cron / messenger:consume); until the first build (or bin/console scalecommerce:vo:index) video details use the per-uuid lookup as before (#70).
  • New plugin settings ownershipIndexInterval (default 15 minutes), lookupBudgetSite (30) and lookupBudgetClient (10) with the previous limits as defaults; the index is stored in the object cache (cache.object, scoped by token), so a cache clear drops it until the next refresh (#70).
  • The API token needs library:view for the index (without it the refresh logs one warning a day and video details keep using the per-uuid lookup); run bin/console scalecommerce:vo:index in deploy scripts, since a cache clear or plugin update drops the index (#70).
  • A video detail with a fresh complete index answers "not found" for a uuid that is not in it without asking the API (HTTP cache lifetime capped at 5 minutes; on 6.6 not kept in the Store API route cache); a video uploaded since the last refresh needs the video.ready webhook or the next refresh (#70).
  • Multiple web servers need a shared cache.object and LOCK_DSN for the index (otherwise video details use the per-uuid lookup) (#70).
  • VideoOptimizerClient takes the OwnershipIndex as an optional last constructor argument (#70).

Added

  • Ownership index of all videos of the organization (scheduled refresh, CLI scalecommerce:vo:index with --status, webhook and admin updates); video detail pages are verified from it without an API call per video (#70).
  • Index state and a "Rebuild index now" action (permission editor) in the Webhook card of the VideoOptimizer module (#70).
  • Settings for the lookup budgets (site-wide and per client, 1 to 1000) and the index refresh interval (5 to 1440 minutes) (#70).

API level: 2026-11-27

v2.2.1

Choose a tag to compare

@dennishei dennishei released this 29 Nov 09:16

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

v2.2.0

Choose a tag to compare

@dennishei dennishei released this 28 Nov 00:26

Release train 2.2 of the shared VideoOptimizer line (content elements): the same set of elements in all four plugins (single video, video next to text, background hero, spotlight, grid, list, detail), plus video with chapters, every format from one video (16:9, 9:16, 1:1, 4:5, 21:9 with focal point), play while scrolling and a floating mini player. Videos named in a detail URL are verified against the site's own organization.

Shopware also gets the product video in the product image gallery (6.6 and 6.7).

Upgrade

  • The plugin extends the core template storefront/utilities/video.html.twig (the video of a product is rendered through it; every other video falls through to the core template): themes that also override it have to extend or merge it, and a product with a video shows one more slide/thumbnail in its image gallery. The new setting productVideoPlayerMode (native or hosted embed, default native) chooses the player (#48).
  • The video of a product is stored in the product's custom fields scalecommerce_vo_product_video and scalecommerce_vo_product_video_library (no entity, no migration, no custom field set); uninstalling leaves these keys in the products' custom fields, they are harmless (#48).
  • The native player no longer starts "Autoplay" (play while visible) for visitors with prefers-reduced-motion or the browser's data saver: the poster and the controls stay (#45).
  • New storefront snippets (scalecommerce-vo.storefront.*: scenes, video list, not found) and styles for the new elements; compile the theme (theme:compile) after the update (#45).
  • A hosted embed (playerMode embed) of the single video element is sized to the video's own ratio instead of always 16:9 (portrait videos no longer sit in a landscape box); set the new format option to 16:9 to keep the old look (#47).
  • Scene previews load <api base URL>/videos/{uuid}/thumbnails/{0-9} (public, redirects to the VideoOptimizer CDN); a Content-Security-Policy img-src has to allow the API host and *.cdn.videooptimizer.eu. The player plugin sets __scvoReady on its element (#46).
  • New storefront plugin ScalecommerceVoMini ([data-scalecommerce-vo-mini]) and the option miniPlayer (default off, stored in the slot config); the mini player does not combine with "Autoplay", which pauses a video that leaves the view (#49).
  • New element options format, focalX and focalY (single video, media split) are stored in the slot config; existing elements keep the original ratio. Themes can style the new scalecommerce-vo-surface--portrait / scalecommerce-vo-video--portrait classes (max width 420 px) (#47).

Added

  • Product video next to the product images (only galleries fed by the product's media get the slide): a card on the product detail page selects a video (library and gallery picker as in the CMS elements); the storefront (6.6 and 6.7) shows it as the last slide of the product image gallery with its poster in the thumbnail strip, a click plays it in place with sound (native or hosted player, setting productVideoPlayerMode), it stops when the visitor moves to another slide; variants inherit the main product's video and can set their own (#48).
  • New CMS elements and blocks "Video list" (cards of a library's ready videos, optional tag filter, 3-48 per page with cursor links, filled up from up to three API pages so a page is not empty while older ready videos exist, linking to a detail page or opening the hosted player in a lightbox; one cached list request, no embed lookup per card, the page is tagged with the library and every listed video) and "Video detail" (video from ?vo_video=<uuid>, accepted only after an authenticated lookup proved it belongs to the token's organization and, if chosen, the element's library - the public embed proves nothing; cached 1 h (seeded by the video list, so a card's detail page costs no lookup), only a 404 is a miss (cached 5 min), 400/403/5xx and the limit of 30 uncached lookups per minute (crafted list cursors count too) are temporary; the URL video's embed is requested only after the check; not-found pages are tagged with the video; default video as fallback; neutral "not found" with noindex and no title anywhere; "temporarily unavailable" during an API outage; page title, description and a per-video canonical from the verified video) (#45).
  • Floating mini player (option on the single video and chapters elements): while a playing video scrolls out of view (< 1 % visible) its box is pinned bottom right (320 px, 180 px for portrait formats, safe-area insets, below modals, from 600 px viewport width), the original place keeps its height, the video/iframe is never moved; close button (unpins and pauses; a hosted player is reloaded without autoplay) and Escape (unpins); scrolling back unpins; playback only counts as started by the visitor (a click or key on the player or a scene; autoplay and play-while-scrolling never pin), a hosted player once it is clicked or a scene was clicked, opening a lightbox unpins and pauses it, the focus moves to the player after closing (#49).
  • New CMS element and block "Video with chapters": the player (native or hosted, shown directly) plus a row of 3-10 scene previews, the video's automatic thumbnails spread evenly with their start time (duration / 11 * (i + 1)); a click jumps to the scene and plays (hosted: reloads the embed with t), the playing scene is marked aria-current; optional scene titles, one per line (#46).
  • Format option for the single video and media split elements: original, 16:9, 9:16, 1:1, 4:5 or 21:9; the video and poster cover the surface (object-fit: cover, the hosted embed gets fit=cover), portrait formats are capped at 420 px width; an optional focal point (X/Y in percent) sets object-position (not supported by the hosted embed) (#47).

API level: 2026-11-27