@wix/video 1.100.0 → 1.101.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"generatedAt":1778412371862,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"monorepo":"Turborepo","packageManager":{"type":"yarn","version":"4.12.0"},"typescriptOptions":{"check":false,"reactDocgen":false},"language":"typescript","storybookPackages":{"@wix/yoshi-storybook-dependencies":{"version":"6.163.0"}},"framework":{},"addons":{"@storybook/addon-controls":{"version":"6.5.16"},"@storybook/addon-docs":{"version":"6.5.16"}}}
1
+ {"generatedAt":1778699406308,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"monorepo":"Turborepo","packageManager":{"type":"yarn","version":"4.12.0"},"typescriptOptions":{"check":false,"reactDocgen":false},"language":"typescript","storybookPackages":{"@wix/yoshi-storybook-dependencies":{"version":"6.163.0"}},"framework":{},"addons":{"@storybook/addon-controls":{"version":"6.5.16"},"@storybook/addon-docs":{"version":"6.5.16"}}}
@@ -1,4 +1,4 @@
1
1
  {
2
- "video.css": "https://static.parastorage.com/services/video/db07e8557688d5b68c4853378f6596ea1084c7ce309ac169b2a91721/video.css",
3
- "video.js": "https://static.parastorage.com/services/video/db07e8557688d5b68c4853378f6596ea1084c7ce309ac169b2a91721/video.umd.js"
2
+ "video.css": "https://static.parastorage.com/services/video/773fa17a3ff4752b060b728c92504168ca67be7d13faa11c274084b2/video.css",
3
+ "video.js": "https://static.parastorage.com/services/video/773fa17a3ff4752b060b728c92504168ca67be7d13faa11c274084b2/video.umd.js"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
- "video.css": "https://static.parastorage.com/services/video/db07e8557688d5b68c4853378f6596ea1084c7ce309ac169b2a91721/video.min.css",
3
- "video.js": "https://static.parastorage.com/services/video/db07e8557688d5b68c4853378f6596ea1084c7ce309ac169b2a91721/video.umd.min.js"
2
+ "video.css": "https://static.parastorage.com/services/video/773fa17a3ff4752b060b728c92504168ca67be7d13faa11c274084b2/video.min.css",
3
+ "video.js": "https://static.parastorage.com/services/video/773fa17a3ff4752b060b728c92504168ca67be7d13faa11c274084b2/video.umd.min.js"
4
4
  }
@@ -523,7 +523,7 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
523
523
  /******/
524
524
  /******/ /* webpack/runtime/publicPath */
525
525
  /******/ (() => {
526
- /******/ __webpack_require__.p = "https://static.parastorage.com/services/video/db07e8557688d5b68c4853378f6596ea1084c7ce309ac169b2a91721/";
526
+ /******/ __webpack_require__.p = "https://static.parastorage.com/services/video/773fa17a3ff4752b060b728c92504168ca67be7d13faa11c274084b2/";
527
527
  /******/ })();
528
528
  /******/
529
529
  /******/ /* webpack/runtime/jsonp chunk loading */
@@ -2710,7 +2710,8 @@ function getImageURI(transformsObj) {
2710
2710
  function getURI(fittingType, src, target, options = {}, transformObj) {
2711
2711
  // check if image transformation is applicable (e.g. .gif, .wix_mp)
2712
2712
  if (isImageTransformApplicable(src.id, options?.hasAnimation, options?.allowAnimatedTransform, options?.allowFullGIFTransformation)) {
2713
- if (imageServiceUtils_isWEBP(src.id) || isAVIF(src.id)) {
2713
+ if ((imageServiceUtils_isWEBP(src.id) || isAVIF(src.id)) &&
2714
+ !options.allowWebpAvifTransforms) {
2714
2715
  // exclude alignment, focalPoint and crop from webp and avif transformation in order not to break webp or avif images before transformation was enabled
2715
2716
  const { alignment, ...transformTarget } = target;
2716
2717
  src.focalPoint = { x: undefined, y: undefined };