ucservice 2.1.8 → 2.1.9

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.
@@ -14180,6 +14180,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14180
14180
  video.style.position = 'absolute';
14181
14181
  $(video).css('left', '50%');
14182
14182
  $(video).css('top', '50%');
14183
+ if (videoWidth / videoHeight < liWidth / liHeight) $(video).css('height', '100%');else $(video).css('width', '100%');
14183
14184
  video.style.transform = 'translate(-50%, -50%)';
14184
14185
  } else if (rotateIndex == 3) {
14185
14186
  //3
@@ -14212,6 +14213,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14212
14213
  video.style.position = 'absolute';
14213
14214
  $(video).css('left', '50%');
14214
14215
  $(video).css('top', '50%');
14216
+ if (videoWidth / videoHeight < liWidth / liHeight) $(video).css('height', '100%');else $(video).css('width', '100%');
14215
14217
  video.style.transform = 'translate(-50%, -50%) rotate(180deg)';
14216
14218
  } else if (rotateIndex == 1) {
14217
14219
  //1
Binary file