@wix/video 1.100.0 → 1.102.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.
- package/dist/statics/janet/iframe.html +1 -1
- package/dist/statics/janet/{main.3a729171.iframe.bundle.js → main.149c6d94.iframe.bundle.js} +6 -2
- package/dist/statics/janet/main.149c6d94.iframe.bundle.js.map +1 -0
- package/dist/statics/janet/project.json +1 -1
- package/dist/statics/manifest.json +2 -2
- package/dist/statics/manifest.min.json +2 -2
- package/dist/statics/video.umd.js +6 -2
- package/dist/statics/video.umd.js.map +1 -1
- package/dist/statics/video.umd.min.js +1 -1
- package/dist/statics/video.umd.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/dist/statics/janet/main.3a729171.iframe.bundle.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"generatedAt":
|
|
1
|
+
{"generatedAt":1779195827372,"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/
|
|
3
|
-
"video.js": "https://static.parastorage.com/services/video/
|
|
2
|
+
"video.css": "https://static.parastorage.com/services/video/a6a998bc3cdde8af685f1938eb6400dce2290e3feecdfb4f7a1f795a/video.css",
|
|
3
|
+
"video.js": "https://static.parastorage.com/services/video/a6a998bc3cdde8af685f1938eb6400dce2290e3feecdfb4f7a1f795a/video.umd.js"
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"video.css": "https://static.parastorage.com/services/video/
|
|
3
|
-
"video.js": "https://static.parastorage.com/services/video/
|
|
2
|
+
"video.css": "https://static.parastorage.com/services/video/a6a998bc3cdde8af685f1938eb6400dce2290e3feecdfb4f7a1f795a/video.min.css",
|
|
3
|
+
"video.js": "https://static.parastorage.com/services/video/a6a998bc3cdde8af685f1938eb6400dce2290e3feecdfb4f7a1f795a/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/
|
|
526
|
+
/******/ __webpack_require__.p = "https://static.parastorage.com/services/video/a6a998bc3cdde8af685f1938eb6400dce2290e3feecdfb4f7a1f795a/";
|
|
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 };
|
|
@@ -3389,6 +3390,7 @@ const getImageComputedProperties = (extendedImageInfo, envConsts, htmlTag) => {
|
|
|
3389
3390
|
'filters',
|
|
3390
3391
|
'encoding',
|
|
3391
3392
|
'allowFullGIFTransformation',
|
|
3393
|
+
'allowWebpAvifTransforms',
|
|
3392
3394
|
]), extendedImageInfo.quality || imageData.quality, {
|
|
3393
3395
|
hasAnimation: extendedImageInfo?.hasAnimation || imageData?.hasAnimation,
|
|
3394
3396
|
});
|
|
@@ -3586,6 +3588,7 @@ function patch(id, measures, domNodes, imageInfo, services, envConsts, loadImage
|
|
|
3586
3588
|
}
|
|
3587
3589
|
const targetScale = imageInfo.targetScale || 1;
|
|
3588
3590
|
const allowFullGIFTransformation = services.isExperimentOpen?.('specs.thunderbolt.allowFullGIFTransformation');
|
|
3591
|
+
const allowWebpAvifTransforms = services.isExperimentOpen?.('specs.thunderbolt.allowWebpAvifTransforms');
|
|
3589
3592
|
const extendedImageInfo = {
|
|
3590
3593
|
...imageInfo,
|
|
3591
3594
|
...(!imageInfo.skipMeasure && {
|
|
@@ -3594,6 +3597,7 @@ function patch(id, measures, domNodes, imageInfo, services, envConsts, loadImage
|
|
|
3594
3597
|
}),
|
|
3595
3598
|
displayMode: imageData.displayMode,
|
|
3596
3599
|
allowFullGIFTransformation,
|
|
3600
|
+
allowWebpAvifTransforms,
|
|
3597
3601
|
};
|
|
3598
3602
|
const imageComputedProperties = getImageComputedProperties(extendedImageInfo, envConsts, 'img');
|
|
3599
3603
|
const computedStyle = imageComputedProperties?.css?.img || {};
|