ucservice 2.5.5 → 2.5.7

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.
@@ -13592,13 +13592,12 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
13592
13592
  for (let k = 0; k < _li.length; k++) {
13593
13593
  let rotateIndex = _li.eq(k).find('button[name=rotateVideo]').attr('rotate-index');
13594
13594
 
13595
- let scaleBtn = _li.eq(k).find('button[name=scaleVideo]').hasClass('bggray');
13595
+ let scaleBtn = _li.eq(k).find('button[name=scaleVideo]').hasClass('bggray'); // if(scaleBtn){
13596
13596
 
13597
- if (scaleBtn) {
13598
- setTimeout(() => {
13599
- me.videoRotateSize(_li.eq(k)[0], rotateIndex);
13600
- }, 200);
13601
- }
13597
+
13598
+ setTimeout(() => {
13599
+ me.videoRotateSize(_li.eq(k)[0], rotateIndex);
13600
+ }, 200); // }
13602
13601
  }
13603
13602
  },
13604
13603
 
@@ -14181,6 +14180,8 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14181
14180
  videoRotateSize(li, rotateIndex) {
14182
14181
  if (!li) return;
14183
14182
  let video = li.querySelector('video');
14183
+ let liWidth = li.offsetWidth;
14184
+ let liHeight = li.offsetHeight;
14184
14185
  let isScale = video.classList.contains('scale-scene');
14185
14186
 
14186
14187
  if (isScale) {
@@ -14193,12 +14194,11 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
14193
14194
  }
14194
14195
  }
14195
14196
 
14197
+ debugger;
14196
14198
  let videoWidth = video.videoWidth;
14197
14199
  let videoHeight = video.videoHeight;
14198
14200
  let vWidth = video.offsetWidth;
14199
14201
  let vHeight = video.offsetHeight;
14200
- let liWidth = li.offsetWidth;
14201
- let liHeight = li.offsetHeight;
14202
14202
 
14203
14203
  if (rotateIndex == 0) {
14204
14204
  //0
Binary file