Repository navigation
Releases
Releases · ScaleCommerce/videooptimizer-shopware
v2.4.5
Upgrade
- The administration bundle changed: run
bin/console assets:installand 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-labelCSS overrode its position (#85)
API level: 2026-11-27
v2.4.4
Fixed
jsonLdandplaybackToggleset tofalsefrom the console without--json(stored as the string "false") stayed on; they now parse the stored value (#84)blockPrivateNetworksset 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
Upgrade
- The storefront bundle and the player templates changed: run
bin/console theme:compileand clear the cache; themes overriding the background hero, single video or surface templates should adopt thedata-vo-no-togglemarker (#83).
Added
- Pause/play button opt-out: plugin setting
playbackToggle(default on) and the HTML attributedata-vo-no-toggleon a video, its surface or any ancestor element; players built on click keep their native controls without the button (#83). data-vo-user-pausedon 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
Upgrade
- The administration bundle changed: run
bin/console assets:installand 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
Upgrade
- The administration bundle changed: run
bin/console assets:installand 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
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
v2.3.1
Upgrade
- With
framework.cache.appset to an in-memory array adapter (APP_ENV=dev) the ownership index now lives in a plugin pool invar/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 persistentcache.object(filesystem, Redis) are unchanged (#72). - The administration snippets of the ownership index moved from
apiNotice.index*towebhook.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 snippetscalecommerce-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 extensionscalecommerceVoProductVideo), no longer inside the gallery slide; themes overriding that template orutilities/video.html.twigneed 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.objectis 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
Upgrade
- A new scheduled task
scalecommerce_vo.refresh_ownership_indexbuilds the ownership index; register it withbin/console plugin:update ScaleVideoOptimizer(orscheduled-task:register) and make sure the scheduled tasks run (cron /messenger:consume); until the first build (orbin/console scalecommerce:vo:index) video details use the per-uuid lookup as before (#70). - New plugin settings
ownershipIndexInterval(default 15 minutes),lookupBudgetSite(30) andlookupBudgetClient(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:viewfor the index (without it the refresh logs one warning a day and video details keep using the per-uuid lookup); runbin/console scalecommerce:vo:indexin 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.readywebhook or the next refresh (#70). - Multiple web servers need a shared
cache.objectandLOCK_DSNfor the index (otherwise video details use the per-uuid lookup) (#70). VideoOptimizerClienttakes theOwnershipIndexas an optional last constructor argument (#70).
Added
- Ownership index of all videos of the organization (scheduled refresh, CLI
scalecommerce:vo:indexwith--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
Upgrade
composer.jsonrequiresshopware/storefront(same range asshopware/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 answers503withRetry-After: 60instead of200withnoindex; only a verified "not found" keepsnoindex. 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). VideoOptimizerClienttakes therequest_stackas an optional last constructor argument,VideoListElementResolverthe ignored URL parameters, andVideoDetailMetaSubscriberthe 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, changedsceneAria;scalecommerce-vo-video__toggle,scalecommerce-vo-video__notice): native<video>elements carry anaria-label, autoplaying players without controls get a pause/play button, the "cannot be played" notice is arole="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 withoutproduct.editorit is read-only; the "Off for this language" choice is stored as an empty string inscalecommerce_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.viewerand is read-only withoutproduct.editor(#62). shopware/storefrontis 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: 60and nonoindex, 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 validatereports 0 errors again: the PHPStan findings inVideoOptimizerClientare fixed (#66).- Tests no longer fail on macOS, with
symfony/http-client7.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
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 settingproductVideoPlayerMode(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_videoandscalecommerce_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-motionor 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 (
playerModeembed) 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-Policyimg-srchas to allow the API host and*.cdn.videooptimizer.eu. The player plugin sets__scvoReadyon its element (#46). - New storefront plugin
ScalecommerceVoMini([data-scalecommerce-vo-mini]) and the optionminiPlayer(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,focalXandfocalY(single video, media split) are stored in the slot config; existing elements keep the original ratio. Themes can style the newscalecommerce-vo-surface--portrait/scalecommerce-vo-video--portraitclasses (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" withnoindexand 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 witht), the playing scene is markedaria-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 getsfit=cover), portrait formats are capped at 420 px width; an optional focal point (X/Y in percent) setsobject-position(not supported by the hosted embed) (#47).
API level: 2026-11-27